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
|
|
|
|
2016-01-05 10:51:13 -05:00
|
|
|
namespace osrm
|
|
|
|
{
|
|
|
|
namespace server
|
|
|
|
{
|
2014-05-11 12:03:05 -04:00
|
|
|
namespace http
|
|
|
|
{
|
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;
|
|
|
|
boost::asio::ip::address endpoint;
|
2011-01-09 16:42:27 -05:00
|
|
|
};
|
2016-01-05 10:51:13 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-01-27 06:35:29 -05:00
|
|
|
|
|
|
|
#endif // REQUEST_HPP
|