[−][src]Module actix_web::web
Essentials helper functions and types for application registration.
Structs
| Bytes | A reference counted contiguous slice of memory. |
| BytesMut | A unique reference to a contiguous slice of memory. |
| Data | Application data. |
| Form | Extract typed information from the request's body. |
| FormConfig | Form extractor configuration |
| HttpRequest | An HTTP Request |
| HttpResponse | An HTTP Response |
| Json | Json helper |
| JsonConfig | Json extractor configuration |
| Path | Extract typed information from the request's path. |
| PathConfig | Path extractor configuration |
| Payload | Payload extractor returns request 's payload stream. |
| PayloadConfig | Payload configuration for request's payload. |
| Query | Extract typed information from from the request's query. |
| QueryConfig | Query extractor configuration |
| ServiceConfig | Service config is used for external configuration. Part of application configuration could be offloaded to set of external methods. This could help with modularization of big application configuration. |
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. |
| to_async | Create a new route and add async handler. |