Expand description
type based high level async function service.
Modules§
- body
- type extractor for request body stream.
- cookie
- type extractor and responder for cookies.
- extension
- type extractor for value from Extensions and itself.
- form
- header
- type extractor for header value
- html
- response generator for Html
- json
- type extractor and response generator for json
- multipart
- params
- type extractor for uri params.
- path
- type extractor for request uri path
- query
- type extractor for request uri query
- redirect
- type responder for http redirecting response.
- state
- type extractor or application state.
- text
- type extractor, responder and service for text
- uri
- websocket
Traits§
- From
Request - Extract type from Req asynchronously and receive them with function passed to handler_service.
- Responder
- Make Response with ownership of Req. The Output type is what returns from handler_service function.
Functions§
- handler_
service - 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. - handler_
sync_ service - synchronous version of handler_service