X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhttp%2Fresponse.h;h=bb471f0de4fe80879ea7da223152b8ee4e671486;hb=HEAD;hp=d721ad804a4d7ea7aab8ee8a89812d644e9001ba;hpb=cf8d2e48581eeb8f1b83e8c48321a0bc2ffa6d83;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 &); };