[][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

AppConfig
AppRouter

Application router builder - Structure that follows the builder pattern for building application instances.

ConnectionInfo

HttpRequest connection information

Extensions

A type map of request extensions.

HttpMessageBody

Future that resolves to a complete http message body.

HttpResponseBuilder

An HTTP response builder

JsonBody

Request's payload json parser, it resolves to a deserialized T value. This future could be used with ServiceRequest and ServiceFromRequest.

Path

Resource path match information

Readlines

Stream to read request line by line.

RequestHead
ResourceDef

ResourceDef describes an entry in resources table

ResourceMap
ResponseHead
Server
ServiceConfig

Application configuration

ServiceFromRequest
ServiceRequest
ServiceResponse
Url
UrlEncoded

Future that resolves to a parsed urlencoded values.

Enums

Body

Represents various types of http message body.

BodySize

Body size hint

Payload

Type represent streaming payload

ResponseBody

Traits

HttpServiceFactory
MessageBody

Type that provides this trait can be streamed to a peer.

ResourcePath

Type Definitions

PayloadStream

Type represent boxed payload