Module spa_server::re_export [−][src]
re-export all the pub symbols from actix-web, no need to add additional actix-web dependency in Cargo.toml.
Modules
body | Traits and structures to aid consuming and writing HTTP payloads. |
cookie | HTTP cookie parsing and cookie jar management. |
dev | The |
error | Error and Result module |
guard | Route match guards. |
http | Various HTTP related types. |
middleware | Commonly used middleware. |
rt | Tokio-based single-threaded async runtime for the Actix ecosystem. |
test | Various helpers for Actix applications to use during testing. |
web | Essentials helper functions and types for application registration. |
Macros
services | Macro helping register different types of services at the sametime. |
Structs
App | Application builder - structure that follows the builder pattern for building application instances. |
CookieIdentityPolicy | Use cookies for request identity storage. |
Cors | Builder for CORS middleware. |
Directory | A directory; responds with the generated directory listing. |
Error | General purpose actix web error. |
Files | Static files handling service. |
FilesService | Assembled file serving service. |
HttpRange | HTTP Range header representation. |
HttpRequest | An HTTP Request |
HttpResponse | An HTTP Response |
HttpServer | An HTTP Server. |
Identity | The extractor type to obtain your identity from a request. |
IdentityService | Request identity middleware |
NamedFile | A file with an associated name. |
Resource | Resource is an entry in resources table which corresponds to requested URL. |
Route | Resource route definition |
Scope | Resources scope. |
Enums
CorsError | Errors that can occur when processing CORS guarded requests. |
Either | Combines two extractor or responder types into a single type. |
EitherExtractError | A composite error resulting from failure to extract an |
Traits
FromRequest | Trait implemented by types that can be extracted from request. |
HttpMessage | Trait that implements general purpose operations on HTTP messages. |
IdentityPolicy | Identity policy definition. |
RequestIdentity | Helper trait that allows to get Identity. |
Responder | Trait implemented by types that can be converted to an HTTP response. |
ResponseError | Error that can be converted to |
Functions
file_extension_to_mime | Return the MIME type associated with a filename extension (case-insensitive).
If |
Type Definitions
Result | A specialized |
Attribute Macros
connect | Creates route handler with |
connect | |
delete | Creates route handler with |
delete | |
get | Creates route handler with |
get | |
head | Creates route handler with |
head | |
main | Marks async main function as the actix system entry-point. |
main | |
options | Creates route handler with |
options | |
patch | Creates route handler with |
patch | |
post | Creates route handler with |
post | |
put | Creates route handler with |
put | |
route | Creates resource handler, allowing multiple HTTP method guards. |
trace | Creates route handler with |
trace |