Expand description
A list of things that automatically imports into application use salvo.
Structs
Depot if for store temp data of current request. Each handler can read or write data to it.
Flow Control.
HttpError contains http error information.
JoinedListener
Write serializable content to response as json content. It will set content-type
to application/json; charset=utf-8
.
Represents an HTTP request.
Represents an HTTP response
Router struct is used for route request to different handlers.
RustlsListener
Server
Service http request.
An HTTP status code (status-code
in RFC 7230 et al.).
TcpListener
UnixListener
Enums
ReadError, errors happened when read data from http request.
Write text content to response as text content.
Traits
Handler trait for handle http request.
Listener trait
Piece is used to write data to response.
Writer is used to write data to response.
Functions
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Create a new HttpError
.
Type Definitions
Resut type with HttpError
has it’s error type.
Attribute Macros
fn_handler
is a pro macro to help create Handler
from function easily.