2016-01-28 10:28:44 -05:00
|
|
|
#ifndef SERVER_API_PARSED_URL_HPP
|
|
|
|
#define SERVER_API_PARSED_URL_HPP
|
|
|
|
|
|
|
|
#include "util/coordinate.hpp"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
2022-12-11 04:10:26 -05:00
|
|
|
namespace osrm::server::api
|
2016-01-28 10:28:44 -05:00
|
|
|
{
|
|
|
|
|
2016-04-01 07:31:51 -04:00
|
|
|
struct ParsedURL final
|
2016-01-28 10:28:44 -05:00
|
|
|
{
|
|
|
|
std::string service;
|
|
|
|
unsigned version;
|
|
|
|
std::string profile;
|
2016-03-02 19:48:30 -05:00
|
|
|
std::string query;
|
2016-04-26 15:20:24 -04:00
|
|
|
std::size_t prefix_length;
|
2016-01-28 10:28:44 -05:00
|
|
|
};
|
2016-04-01 07:31:51 -04:00
|
|
|
|
2022-12-20 12:00:11 -05:00
|
|
|
} // namespace osrm::server::api
|
2016-04-01 07:31:51 -04:00
|
|
|
|
2016-01-28 10:28:44 -05:00
|
|
|
#endif
|