[][src]Module actix_web::dev

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::*;

Structs

AsyncResult

Represents async result

ConnectionInfo

HttpRequest connection information

Drain

Consume a future

FormConfig

Form extractor configuration

HttpResponseBuilder

An HTTP response builder

JsonBody

Request payload json parser that resolves to a deserialized T value.

JsonConfig

Json extractor configuration

MessageBody

Future that resolves to a complete http message body.

Params

Route match information

Payload

Buffered stream of bytes chunks

PayloadBuffer

Payload buffer

PayloadConfig

Payload configuration for request's payload.

Readlines

Stream to read request line by line.

Resource

Resource is an entry in route table which corresponds to requested URL.

ResourceDef

Resource type describes an entry in resources table

ResourceInfo

Information about current resource

Route

Resource route definition

Router

Interface for application router.

UrlEncoded

Future that resolves to a parsed urlencoded values.

Enums

ResourceType

Resource type

Traits

FromParam

A trait to abstract the idea of creating a new instance of a type from a path parameter.

Handler

Trait defines object that could be registered as route handler

Type Definitions

BodyStream

Type represent streaming body