Module actix_web::dev[][src]

Expand description

Lower-level types and re-exports.

Most users will not have to interact with the types in this module, but it is useful for those writing extractors, middleware and libraries, or interacting with the service API directly.

Macros

An implementation of poll_ready that always signals readiness.

An implementation of poll_ready that forwards readiness checks to a named struct field.

Structs

Application connection config.

Application configuration

HTTP connection information.

A type map for request extensions.

Resource path match information.

Extractor for peer’s socket address.

Stream that reads request line by line.

Describes the set of paths that match to a resource.

An HTTP response.

A service level request wrapper.

A service level response wrapper.

Known sized streaming response wrapper.

Future that resolves to some T when parsed from a URL encoded payload.

Enums

Represents various types of HTTP message body.

Body size hint.

Future that resolves to some T when parsed from a JSON payload.

Type represent streaming payload

Traits

Helper trait that allows to set specific encoding for response.

An interface for response bodies.

An asynchronous operation from Request to a Response.

Factory for creating Services.

Defines the interface of a service factory that wraps inner service during construction.

Functions

Create ServiceFactory for function that can produce services

Create ServiceFactory for function that can act as a Service

Type Definitions

Type represent boxed payload