Skip to main content

Module dev

Module dev 

Source
Expand description

Internal web framework types commonly needed by library authors.

Importing this module’s contents can reduce repetitive imports in libraries that build abstractions on top of crate::web.

Structs§

AppService
Service to convert Request to a WebRequest
ConnectionInfo
HttpRequest connection information
ResourceMap
Map of registered resources, used for URL generation.
WebServiceAdapter
Create service adapter for a specific path.
WebServiceConfig
Application service configuration

Traits§

IntoRoutes
Convert object to a vec of routes
WebServiceFactory
Factory of web services that can be registered with an application or scope.

Type Aliases§

DefaultState
Application state used by App::default().