Implemented request bodies

This commit is contained in:
2022-06-30 03:41:33 +02:00
parent fb84784d1c
commit aa073c2385
10 changed files with 146 additions and 22 deletions
@@ -11,13 +11,14 @@
// forward declarations
class ClientConnection;
class ErrorResponseHandler : public ResponseHandler
class ErrorResponseHandler final : public ResponseHandler
{
public:
ErrorResponseHandler(ClientConnection &clientConnection, std::string_view path);
~ErrorResponseHandler() override;
~ErrorResponseHandler() final;
void requestHeaderReceived(std::string_view key, std::string_view value) final;
void requestBodyReceived(std::string_view body) final;
void sendResponse() final;
private: