Module routing

Source
Expand description

Map HTTP requests to Resource methods.

Currently, this module is intended to be used by the impl_web! macro and not the end user.

Structs§

Builder
Build a set of routes
Route
Matches an HTTP request with a resource method.
RouteMatch
Data captured from an HTTP request when it matches a route.
RouteSet
A set of routes
RoutedService
Web service
Unit
A resource with no methods.

Traits§

IntoResource
Convert a value into a Resource
Resource
A Resource processes HTTP requests received by the service.
ResourceFuture
A specialized response future returned by resources.