logo
Expand description

A list of things that automatically imports into application use salvo.

Modules

affixaffix
affix middleware is used to add any data to depot.
trailing_slashtrailing-slash
Trailing slash middleware

Structs

A wrapper around an underlying listener which implements the ACME.
BasicAuthbasic-auth
BasicAuth
CachingHeaderscaching-headers
A combined handler that provides both ETag and Modified behavior.
Compressioncompression
Compression
Depot if for store temp data of current request. Each handler can read or write data to it.
FlowCtrl is used to control the flow of execute handlers.
ForceHttpsforce-https
Middleware for force redirect to http uri.
JoinedListener
Write serializable content to response as json content. It will set content-type to application/json; charset=utf-8.
JwtAuthjwt-auth
JwtAuth, used as middleware.
Wrapper for Extractible type. Handler’s parameters does not allow two extractible types has lifetime, wrap these types with LazyExtract.
Loggerlogging
Logger
NativeTlsListener
OpensslListener
Proxyproxy
Proxy
Response that redirects the request to another location.
Represents an HTTP request.
Represents an HTTP response
Router struct is used for route request to different handlers.
RustlsListener
HTTP Server
Service http request.
Server-sent event
SseKeepAlive
An HTTP status code (status-code in RFC 7230 et al.).
StatusError contains http error information.
TcpListener
Timeouttimeout
Timeout
TrailingSlashtrailing-slash
TrailingSlash
Unix domain socket listener.
Creates a WebSocket Handler. Request:
This is a empty implement for Handler.

Enums

CompressionAlgocompression
CompressionAlgo
JwtAuthStatejwt-auth
JwtAuthState
Write text content to response as text content.
TrailingSlashActiontrailing-slash
TrailingSlashAction

Traits

BasicAuthDepotExt
BasicAuthValidator
Handler
JwtAuthDepotExt
Listener trait
Piece is used to write data to Response.
Writer is used to write data to response.

Functions

max_sizesize-limiter
Create a new MaxSize.

Attribute Macros

handler is a pro macro to help create Handler from function or impl block easily.

Derive Macros

Generate code for extractible type.