Realistic 3D camera system
3D camera system components
request.hpp
Go to the documentation of this file.
1 //
2 // request.hpp
3 // ~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 //
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)
9 //
10 
11 #ifndef HTTP_SERVER4_REQUEST_HPP
12 #define HTTP_SERVER4_REQUEST_HPP
13 
14 #include <string>
15 #include <vector>
16 #include "header.hpp"
17 
18 namespace http {
19 namespace server4 {
20 
22 struct request
23 {
25  std::string method;
26 
28  std::string uri;
29 
32 
35 
37  std::vector<header> headers;
38 
40  std::string content;
41 };
42 
43 } // namespace server4
44 } // namespace http
45 
46 #endif // HTTP_SERVER4_REQUEST_HPP
std::string method
The request method, e.g. "GET", "POST".
Definition: request.hpp:25
std::vector< header > headers
The headers included with the request.
Definition: request.hpp:37
std::string uri
The requested URI, such as a path to a file.
Definition: request.hpp:28
A request received from a client.
Definition: request.hpp:22
int http_version_major
Major version number, usually 1.
Definition: request.hpp:31
int http_version_minor
Minor version number, usually 0 or 1.
Definition: request.hpp:34
std::string content
The optional content sent with the request.
Definition: request.hpp:40