identt
ClientResponse.hpp
Go to the documentation of this file.
1 
33 #ifndef _IDENTT_HTTP_CLIENT_RESPONSE_HPP_
34 #define _IDENTT_HTTP_CLIENT_RESPONSE_HPP_
35 
36 #include <boost/asio.hpp>
37 #include <iostream>
38 #include <sstream>
39 #include <unordered_map>
40 
41 namespace identt {
42 namespace http {
43 
44 template <class socket_type>
46  ClientResponse(): content(&content_buffer) {};
47  std::string http_version, status_code;
48  std::istream content;
49  std::unordered_map<std::string, std::string> header;
50  boost::asio::streambuf content_buffer;
51 };
52 
53 } // namespace http
54 } // namespace identt
55 #endif /* _IDENTT_HTTP_CLIENT_RESPONSE_HPP_ */
Definition: ClientResponse.hpp:45
Definition: CryptoBase.hpp:49