Crate darpi[−][src]
Re-exports
pub use chrono; |
pub use futures; |
pub use hyper; |
pub use log; |
pub use rayon; |
pub use serde_json; |
pub use tokio; |
Modules
body | Streaming bodies for Requests and Responses |
header | HTTP header types |
job | |
logger | |
request | |
response | |
service | Asynchronous Services |
upgrade | HTTP Upgrades |
Macros
app |
Structs
Args | |
Body | A stream of |
Error | Represents errors that can occur handling HTTP streams. |
Json | |
Method | The Request Method (VERB) |
ReqRoute | |
Request | Represents an HTTP request. |
RequestParts | Component parts of an HTTP |
Response | Represents an HTTP response |
Route | |
Server | A listening HTTP server that accepts connections in both HTTP1 and HTTP2 by default. |
StatusCode | An HTTP status code ( |
Xml | |
Yaml |
Traits
Handler | |
HttpBody | Trait representing a streaming body of a Request or Response. |
ReqFormatter | |
RequestJobFactory | |
RequestMiddleware | |
RespFormatter | |
ResponseJobFactory | |
ResponseMiddleware |
Functions
from_str | |
oneshot | |
spawn |
Attribute Macros
async_trait | |
handler | |
job_factory | |
middleware | |
req_formatter | |
resp_formatter |
Derive Macros
Path | |
Query |