X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhttp%2Fresponse.h;h=8644b7228a11b1b3ce5652c7998ec474a28109ba;hb=HEAD;hp=bb471f0de4fe80879ea7da223152b8ee4e671486;hpb=8286d850ba8451e6acdad5f2083b8fb324e84717;p=libs%2Fnet.git diff --git a/source/http/response.h b/source/http/response.h index bb471f0..8644b72 100644 --- a/source/http/response.h +++ b/source/http/response.h @@ -1,22 +1,23 @@ #ifndef MSP_HTTP_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 &); };