X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhttp%2Fresponse.h;h=8644b7228a11b1b3ce5652c7998ec474a28109ba;hb=394c9a732192fce9b3b453dfdb9e92400af2a4f8;hp=8d88c92875f99fc2229cf5f7458c957b81cac2d4;hpb=d11d422d06ca0277dff4860a0bf71b1844c94b8a;p=libs%2Fnet.git diff --git a/source/http/response.h b/source/http/response.h index 8d88c92..8644b72 100644 --- a/source/http/response.h +++ b/source/http/response.h @@ -1,13 +1,14 @@ #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; @@ -16,7 +17,7 @@ private: 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 &); };