Module actix_web::web [−][src]
Essentials helper functions and types for application registration.
Structs
Bytes | A cheaply cloneable and sliceable chunk of contiguous memory. |
BytesMut | A unique reference to a contiguous slice of memory. |
Data | Application data. |
Form | URL encoded payload extractor and responder. |
FormConfig |
|
HttpRequest | An HTTP Request |
HttpResponse | An HTTP Response |
Json | JSON extractor and responder. |
JsonConfig |
|
Path | Extract typed data from request path segments. |
PathConfig | Path extractor configuration |
Payload | Extract a request's raw payload stream. |
PayloadConfig | Configuration for request payloads. |
Query | Extract typed information from the request's query. |
QueryConfig | Query extractor configuration. |
Readlines | Stream that reads request line by line. |
ReqData | Request-local data extractor. |
ServiceConfig | Enables parts of app configuration to be declared separately from the app itself. Helpful for modularizing large applications. |
Enums
Either | Combines two extractor or responder types into a single type. |
EitherExtractError | A composite error resulting from failure to extract an |
Traits
Buf | Read bytes from a buffer. |
BufMut | A trait for values that provide sequential write access to bytes. |
Functions
block | Execute blocking function on a thread pool, returns future that resolves to result of the function execution. |
delete | Create route with |
get | Create route with |
head | Create route with |
method | Create route and add method guard. |
patch | Create route with |
post | Create route with |
put | Create route with |
resource | Create resource for a specific path. |
route | Create route without configuration. |
scope | Configure scope for common root path. |
service | Create raw service for a specific path. |
to | Create a new route and add handler. |
trace | Create route with |