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

Structs

AsyncResult

Represents async result

ConnectionInfo

HttpRequest connection information

Drain
ExtractorConfig

Extractor configuration

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

PayloadConfig

Payload configuration for request's payload.

Resource

Resource type describes an entry in resources table

ResourceHandler

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

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