X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhttp%2Fresponse.h;h=8644b7228a11b1b3ce5652c7998ec474a28109ba;hb=449a2f3417748761f94f3002b1c15819c4d83365;hp=d721ad804a4d7ea7aab8ee8a89812d644e9001ba;hpb=debe1004676d5431e571d9c4361072661dcc88c4;p=libs%2Fnet.git diff --git a/source/http/response.h b/source/http/response.h index d721ad8..8644b72 100644 --- a/source/http/response.h +++ b/source/http/response.h @@ -1,22 +1,23 @@ #ifndef MSP_HTTP_RESPONSE_H_ -#define MSP_HTTO_RESPONSE_H_ +#define MSP_HTTP_RESPONSE_H_ +#include #include "message.h" #include "status.h" namespace Msp { namespace Http { -class Response: public Message +class MSPNET_API Response: public Message { private: Status status; - Response() { } + Response() = default; public: Response(Status); Status get_status() const { return status; } - virtual std::string str() const; + std::string str() const override; static Response parse(const std::string &); };