Module actix_web::dev[][src]

Expand description

The actix-web prelude for library developers

The purpose of this module is to alleviate imports of many common actix traits by adding a glob import to the top of actix heavy modules:

use actix_web::dev::*;

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

An HTTP response builder.

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.

ResourceDef describes an entry in resources table

An service http request

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.

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