7#include <absl/container/flat_hash_map.h>
45 const std::vector<std::variant<std::string, RouteArgDef>> &
getPathInfoDef()
const;
47 const absl::flat_hash_map<std::string, std::variant<std::string, RouteArgDef>> &
getQueryDef()
const;
53 std::vector<std::variant<std::string, RouteArgDef>> _path_info_segments;
54 absl::flat_hash_map<std::string, std::variant<std::string, RouteArgDef>> _query_segments;
A class representing a route key, which is a combination of a HTTP method and a URL.
Definition route_key.hpp:20
http::Method getMethod() const
Get the HTTP method of the route key.
Definition route_key.cpp:67
const absl::flat_hash_map< std::string, std::variant< std::string, RouteArgDef > > & getQueryDef() const
Definition route_key.cpp:77
bool operator==(const RouteKey &other) const
Definition route_key.cpp:62
const http::URL & getPath() const
Get the URL of the route key.
Definition route_key.cpp:82
const std::vector< std::variant< std::string, RouteArgDef > > & getPathInfoDef() const
Get the path info segments of the route key.
Definition route_key.cpp:72
Method
Enum to represent the request method.
Definition http_method.hpp:31
Definition decentralised_art.hpp:30
H AbslHashValue(H h, const evmc::address &addr)
Definition evm_storage.hpp:137