Expand description
DIPPER Core modules
Modules§
- Middleware for add any data to depot.
- Middleware for catch panic in handlers.
- The core crate of Salvo web framework.
- This is the foundation module, providing best practices for auxiliary services such as identity authentication (authn), data authorization (authz), and email.
- Provide JWT authentication support for Salvo web framework.
- OpenAPI support for salvo, modified from utoipa, It uses simple proc macros which you can use to annotate your code to have items documented.
Macros§
- Then, you will get
DynModulesstruct. - Create a
Modulewhich is associated with some components and providers.
Structs§
- Store temp data for current request.
- Control the flow of execute handlers.
- Represents an HTTP request.
- Represents an HTTP response.
- Route request to different handlers.
- HTTP Server.
- Service http request.
Enums§
- Errors that can happen inside salvo.
Traits§
- If a type implements this trait, it will give a metadata, this will help request to extracts data to this type.
Handleris used for handleRequest.Listenerrepresents a listener that can bind to a specific address and port and return an acceptor.Scribeis used to write data toResponse.Writeris used to write data toResponse.
Type Aliases§
BoxedErroris a boxed error type that can be used as a trait object.- Result type which has
salvo::Erroras it’s error type.
Attribute Macros§
handleris a macro to help createHandlerfrom function or impl block easily.