HTTPServer/HTTPPOSTHandler.h
2022-06-29 11:38:44 -07:00

23 lines
409 B
C++

#ifndef __HTTPPOSTHandler_h__
#define __HTTPPOSTHandler_h__
#include "Command.h"
#include "HTTPRequest.h"
namespace http {
class HTTPPOSTHandler : public core::Command {
public:
int processCommand(coreutils::ZString &request, core::TCPSession &session) override;
private:
HTTPRequest *httpRequest = NULL;
bool processHTTPRequest(core::TCPSession &session);
};
}
#endif