File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
boost/network/protocol/http Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ #ifndef BOOST_NETWORK_PROTOCOL_HTTP_RESPONSE_BASE_HPP_20110930
2
+ #define BOOST_NETWORK_PROTOCOL_HTTP_RESPONSE_BASE_HPP_20110930
3
+
4
+ // Copyright 2011 Dean Michael Berris <dberris@google.com>.
5
+ // Copyright 2011 Google, Inc.
6
+ // Distributed under the Boost Software License, Version 1.0.
7
+ // (See accompanying file LICENSE_1_0.txt or copy at
8
+ // http://www.boost.org/LICENSE_1_0.txt)
9
+
10
+ namespace boost { namespace network { namespace http {
11
+
12
+ struct response_base : message_base {
13
+ virtual void set_status (std::string const & new_status) = 0;
14
+ virtual void set_status_message (std::string const & new_status_message) = 0;
15
+ virtual void set_version (std::string const & new_version) = 0;
16
+ virtual ~response_base () = 0 ;
17
+ };
18
+
19
+ response_base::~response_base () {}
20
+
21
+ } /* http */
22
+
23
+ } /* network */
24
+
25
+ } /* boost */
26
+
27
+ #endif /* BOOST_NETWORK_PROTOCOL_HTTP_RESPONSE_BASE_HPP_20110930 */
You can’t perform that action at this time.
0 commit comments