[][src]Crate darpi

Re-exports

pub use futures;
pub use serde_json;

Modules

header

HTTP header types

logger
middleware
request
response
service

Asynchronous Services

Macros

app

Structs

Body

A stream of Bytes, used when receiving bodies.

Error

Represents errors that can occur handling HTTP streams.

Expect
Json
Method

The Request Method (VERB)

Path
Query
ReqRoute
Request

Represents an HTTP request.

RequestParts

Component parts of an HTTP Request

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 (status-code in RFC 7230 et al.).

Xml
Yaml

Functions

from_str

Attribute Macros

handler
middleware
path_type
query_type