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
Requestto aWebRequest - Connection
Info HttpRequestconnection information- Resource
Map - Map of registered resources, used for URL generation.
- WebService
Adapter - Create service adapter for a specific path.
- WebService
Config - Application service configuration
Traits§
- Into
Routes - Convert object to a vec of routes
- WebService
Factory - Factory of web services that can be registered with an application or scope.
Type Aliases§
- Default
State - Application state used by
App::default().