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::*;
Structs
Application connection config
Application configuration
HttpRequest
connection information
A type map of request extensions.
An HTTP response builder
Request’s payload json parser, it resolves to a deserialized T
value.
This future could be used with ServiceRequest
and ServiceFromRequest
.
Resource path match information
Stream to read request line by line.
ResourceDef describes an entry in resources table
An service http request
Type represent streaming body. This body implementation should be used if total size of stream is known. Data get sent as is without using transfer encoding.
Future that resolves to a parsed urlencoded values.
Enums
Represents various types of http message body.
Body size hint
Type represent streaming payload
Traits
Helper trait that allows to set specific encoding for response.
Type that provides this trait can be streamed to a peer.
An asynchronous operation from Request
to a Response
.
The Transform
trait defines the interface of a service factory that wraps inner service
during construction.
Type Definitions
Type represent boxed payload