]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/asio/example/cpp03/http/server2/request.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / http / server2 / request.hpp
CommitLineData
7c673cae
FG
1//
2// request.hpp
3// ~~~~~~~~~~~
4//
b32b8144 5// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7c673cae
FG
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_SERVER2_REQUEST_HPP
12#define HTTP_SERVER2_REQUEST_HPP
13
14#include <string>
15#include <vector>
16#include "header.hpp"
17
18namespace http {
19namespace server2 {
20
21/// A request received from a client.
22struct request
23{
24 std::string method;
25 std::string uri;
26 int http_version_major;
27 int http_version_minor;
28 std::vector<header> headers;
29};
30
31} // namespace server2
32} // namespace http
33
34#endif // HTTP_SERVER2_REQUEST_HPP