]> git.tdb.fi Git - libs/net.git/blob - source/http/response.h
Correct a typo in a multiple inclusion guard
[libs/net.git] / source / http / response.h
1 #ifndef MSP_HTTP_RESPONSE_H_
2 #define MSP_HTTP_RESPONSE_H_
3
4 #include "message.h"
5 #include "status.h"
6
7 namespace Msp {
8 namespace Http {
9
10 class Response: public Message
11 {
12 private:
13         Status status;
14
15         Response() { }
16 public:
17         Response(Status);
18         Status get_status() const { return status; }
19         virtual std::string str() const;
20
21         static Response parse(const std::string &);
22 };
23
24 } // namespace Http
25 } // namespace Msp
26
27 #endif