Module actix_web::dev[][src]

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

always_ready

An implementation of poll_ready that always signals readiness.

forward_ready

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

Structs

AppConfig

Application connection config.

AppService

Application configuration

BaseHttpResponseBuilder

An HTTP response builder.

ConnectionInfo

HttpRequest connection information

Decompress
Extensions

A type map for request extensions.

Path

Resource path match information

Readlines

Stream that reads request line by line.

RequestHead
ResourceDef

ResourceDef describes an entry in resources table

ResourceMap
ResponseHead
Server
ServiceRequest

An service http request

ServiceResponse
SizedStream

Known sized streaming response wrapper.

Url
UrlEncoded

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

WebService

Enums

Body

Represents various types of HTTP message body.

BodySize

Body size hint.

JsonBody

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

Payload

Type represent streaming payload

ResponseBody

Traits

BodyEncoding

Helper trait that allows to set specific encoding for response.

HttpServiceFactory
MessageBody

An interface for response bodies.

ResourcePath
Service

An asynchronous operation from Request to a Response.

Transform

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

Type Definitions

PayloadStream

Type represent boxed payload