Crate actix_web [] [src]

Web framework for Actix

Modules

dev

The actix-web prelude for library developers

httpcodes

Basic http responses

multipart

Multipart requests support.

ws

WebSocket support for Actix

Structs

Application

Application

ApplicationBuilder

Application builder

Cookie

Representation of an HTTP cookie.

CookieBuilder

Structure that follows the builder pattern for building Cookie structs.

HttpContext

Actor execution context

HttpRange

HTTP Range header representation.

HttpRequest

An HTTP Request

HttpResponse

An HTTP Response

HttpResponseBuilder

An HTTP response builder

HttpServer

An HTTP Server

Logger

Middleware for logging request and response info to the terminal.

Method

The Request Method (VERB)

Params

Route match information

Payload

Stream of byte chunks

PayloadItem

Just Bytes object

Reply

Represents response process.

Resource

Http resource

RouteFactory

This is used for routes registration within Resource

StaticFiles

Static files handling

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

UrlEncoded

Future that resolves to a parsed urlencoded values.

Version

Represents a version of the HTTP spec.

Enums

BinaryBody

Represents various types of binary body. Content-Length header is set to length of the body.

Body

Represents various types of http message body.

CookieParseError

Enum corresponding to a parsing error.

HttpRangeParseError

Range parsing error

ParseError

A set of errors that can occur during parsing HTTP streams.

PayloadError

A set of error that can occur during payload parsing.

Traits

Middleware

Middleware definition

Route

Actors with ability to handle http requests.

RouteHandler

Trait defines object that could be regestered as resource route

Type Definitions

HandlerResult

Result of a resource handler function

RouteResult

Request handling result.