2015-01-27 06:35:29 -05:00
|
|
|
#ifndef REQUEST_HPP
|
|
|
|
#define REQUEST_HPP
|
2011-01-09 16:42:27 -05:00
|
|
|
|
2015-01-27 06:35:29 -05:00
|
|
|
#include <boost/asio.hpp>
|
2011-01-09 16:42:27 -05:00
|
|
|
|
2015-01-27 06:35:29 -05:00
|
|
|
#include <string>
|
2013-12-16 05:29:38 -05:00
|
|
|
|
2022-12-11 04:10:26 -05:00
|
|
|
namespace osrm::server::http
|
2014-05-11 12:03:05 -04:00
|
|
|
{
|
2014-03-03 12:47:34 -05:00
|
|
|
|
2015-01-27 06:35:29 -05:00
|
|
|
struct request
|
2014-05-07 10:50:48 -04:00
|
|
|
{
|
2015-01-27 06:35:29 -05:00
|
|
|
std::string uri;
|
|
|
|
std::string referrer;
|
|
|
|
std::string agent;
|
2019-08-19 07:22:54 -04:00
|
|
|
std::string connection;
|
2015-01-27 06:35:29 -05:00
|
|
|
boost::asio::ip::address endpoint;
|
2011-01-09 16:42:27 -05:00
|
|
|
};
|
2022-12-20 12:00:11 -05:00
|
|
|
} // namespace osrm::server::http
|
2015-01-27 06:35:29 -05:00
|
|
|
|
|
|
|
#endif // REQUEST_HPP
|