logo

Module actix_web::web[][src]

Expand description

Essentials helper functions and types for application registration.

Structs

A reference counted contiguous slice of memory.

A unique reference to a contiguous slice of memory.

Error returned from a Receiver when the corresponding Sender is dropped.

Application data.

Form data helper (application/x-www-form-urlencoded)

Form extractor configuration

An HTTP Request

An HTTP Response

Json helper

Json extractor configuration

Extract typed information from the request’s path.

Path extractor configuration

Payload extractor returns request ’s payload stream.

Configuration for request’s payload.

Extract typed information from the request’s query.

Query extractor configuration

Stream to read request line by line.

Request-local data extractor.

Service config is used for external configuration. Part of application configuration could be offloaded to set of external methods. This could help with modularization of big application configuration.

Enums

Combines two different responder types into a single type

A composite error resulting from failure to extract an Either<A, B>.

Traits

Read bytes from a buffer.

A trait for values that provide sequential write access to bytes.

Functions

Execute blocking function on a thread pool, returns future that resolves to result of the function execution.

Create route with DELETE method guard.

Create route with GET method guard.

Create route with HEAD method guard.

Create route and add method guard.

Create route with PATCH method guard.

Create route with POST method guard.

Create route with PUT method guard.

Create resource for a specific path.

Create route without configuration.

Configure scope for common root path.

Create raw service for a specific path.

Create a new route and add handler.

Create route with TRACE method guard.