Module xitca_http::util::service::handler
source · Expand description
high level async function service with “variadic generic” ish.
Structs§
Traits§
- Extract type from Req asynchronously and receive them with function passed to handler_service.
- Make Response with ownership of Req. The Output type is what returns from handler_service function.
Functions§
- A service factory shortcut offering given async function ability to use FromRequest to destruct and transform
Service<Req>’sReqtype and receive them as function argument.