Expand description
DIPPER Core modules
Modules§
- The core crate of Savlo web framework.
SalvoHandlermodular craft.- 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§
- Examples
- 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.