[−][src]Module kayrx::web::dev
The eternal
prelude for library developers
The purpose of this module is to alleviate imports of many common eternal traits by adding a glob import to the top of eternal heavy modules:
use eternal::web::dev::*;
Re-exports
pub use crate::http::body::Body; |
pub use crate::http::body::BodySize; |
pub use crate::http::body::MessageBody; |
pub use crate::http::body::ResponseBody; |
pub use crate::http::body::SizedStream; |
pub use crate::service::Service; |
pub use crate::router::ResourcePath; |
Structs
AppConfig | |
AppService | Application configuration |
ConnectionInfo |
|
Decompress | |
Extensions | A type map of request extensions. |
HttpResponseBuilder | An HTTP response builder |
JsonBody | Request's payload json parser, it resolves to a deserialized |
Path | Resource path match information |
Readlines | Stream to read request line by line. |
RequestHead | |
ResourceDef | ResourceDef describes an entry in resources table |
ResourceMap | |
ResponseHead | |
Server | |
ServiceRequest | An service http request |
ServiceResponse | |
Url | |
UrlEncoded | Future that resolves to a parsed urlencoded values. |
WebService |
Enums
Payload | Type represent streaming payload |
Traits
BodyEncoding | Helper trait that allows to set specific encoding for response. |
HttpServiceFactory | |
Transform | The |
Type Definitions
PayloadStream | Type represent boxed payload |