logo
Expand description

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

Structs

A wrapper around an underlying listener which implements the ACME.

Depot if for store temp data of current request. Each handler can read or write data to it.

Flow Control.

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.).

StatusError contains http error information.

TcpListener

UnixListener

Enums

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.

Attribute Macros

fn_handler is a pro macro to help create Handler from function easily.