5 // Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 #ifndef HTTP_SERVER4_REQUEST_HPP
12 #define HTTP_SERVER4_REQUEST_HPP
21 /// A request received from a client.
24 /// The request method, e.g. "GET", "POST".
27 /// The requested URI, such as a path to a file.
30 /// Major version number, usually 1.
31 int http_version_major;
33 /// Minor version number, usually 0 or 1.
34 int http_version_minor;
36 /// The headers included with the request.
37 std::vector<header> headers;
39 /// The optional content sent with the request.
43 } // namespace server4
46 #endif // HTTP_SERVER4_REQUEST_HPP