Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::routing::Router Member List

This is the complete list of members for orbit::routing::Router, including all inherited members.

add_route(http::HttpMethod method, const std::string &path, RouteHandler handler)orbit::routing::Router
add_route(http::HttpMethod method, const std::string &path, std::vector< Middleware > mws, RouteHandler handler)orbit::routing::Router
add_route_with_meta(http::HttpMethod method, const std::string &path, std::vector< Middleware > mws, const openapi::RouteMetadata &meta, RouteHandler handler)orbit::routing::Router
add_stream_route(http::HttpMethod method, const std::string &path, RouteHandler handler)orbit::routing::Router
del(const std::string &path, RouteHandler handler)orbit::routing::Router
del(const std::string &path, std::vector< Middleware > mws, RouteHandler handler)orbit::routing::Router
dynamic_routes_orbit::routing::Routerprivate
dynamic_stream_routes_orbit::routing::Routerprivate
error_handler_orbit::routing::Routerprivate
error_scope_orbit::routing::Routerprivate
get(const std::string &path, RouteHandler handler)orbit::routing::Router
get(const std::string &path, std::vector< Middleware > mws, RouteHandler handler)orbit::routing::Router
get_ws_route(const std::string &path) constorbit::routing::Router
group(const std::string &prefix, std::function< void(Router &)> callback)orbit::routing::Router
handle_exception(std::exception_ptr error, http::HttpRequest &request, std::shared_ptr< http::ResponseWriter > response_writer, const ErrorScope *scope=nullptr) constorbit::routing::Routerprivate
has_ws_route(const std::string &path) constorbit::routing::Router
is_stream_route(http::HttpMethod method, const std::string &path) constorbit::routing::Router
is_wildcard(const std::string &segment)orbit::routing::Routerinlineprivatestatic
local_middlewares_orbit::routing::Routerprivate
make_route_key(http::HttpMethod method, std::string_view path) constorbit::routing::Routerprivate
mark_stream_route(http::HttpMethod method, const std::string &full_path)orbit::routing::Routerprivate
match_segments(const std::vector< std::string > &pattern, const std::vector< std::string > &request, std::unordered_map< std::string, std::string > *params)orbit::routing::Routerprivatestatic
middlewares_orbit::routing::Routerprivate
not_found(RouteHandler handler)orbit::routing::Router
not_found_handler_orbit::routing::Routerprivate
on_error(ErrorHandler handler)orbit::routing::Router
openapi()orbit::routing::Routerinline
openapi_orbit::routing::Routerprivate
options(const std::string &path, RouteHandler handler)orbit::routing::Router
options(const std::string &path, std::vector< Middleware > mws, RouteHandler handler)orbit::routing::Router
parent_orbit::routing::Routerprivate
patch(const std::string &path, RouteHandler handler)orbit::routing::Router
patch(const std::string &path, std::vector< Middleware > mws, RouteHandler handler)orbit::routing::Router
post(const std::string &path, RouteHandler handler)orbit::routing::Router
post(const std::string &path, std::vector< Middleware > mws, RouteHandler handler)orbit::routing::Router
prefix_orbit::routing::Routerprivate
put(const std::string &path, RouteHandler handler)orbit::routing::Router
put(const std::string &path, std::vector< Middleware > mws, RouteHandler handler)orbit::routing::Router
registration_counts_orbit::routing::Routerprivate
root()orbit::routing::Routerinlineprivate
root() constorbit::routing::Routerinlineprivate
route(const std::string &path, http::HttpMethod method=http::HttpMethod::GET)orbit::routing::Routerinline
route(http::HttpRequest &request, std::shared_ptr< http::ResponseWriter > response_writer) constorbit::routing::Router
Router(const std::string &prefix="", Router *parent=nullptr)orbit::routing::Routerinline
routes_orbit::routing::Routerprivate
run_ws_middlewares(const std::string &path, http::HttpRequest &request, std::shared_ptr< http::ResponseWriter > response_writer) constorbit::routing::Router
split_path(std::string_view path) constorbit::routing::Routerprivate
stream_routes_orbit::routing::Routerprivate
use(Middleware m)orbit::routing::Router
use(const std::string &prefix, Middleware m)orbit::routing::Router
validate_routes() constorbit::routing::Router
ws(const std::string &path, WsHandler handler)orbit::routing::Router
ws(const std::string &path, std::vector< Middleware > mws, WsHandler handler)orbit::routing::Router
ws_routes_orbit::routing::Routerprivate