[go: up one dir, main page]

[][src]Crate conduit

Modules

header

HTTP header types

Structs

HeaderMap

A set of HTTP headers

Method

The Request Method (VERB)

Request

Represents an HTTP request.

Response

Represents an HTTP response

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

TypeMap
Version

Represents a version of the HTTP spec.

Enums

Host
Scheme

Traits

Handler

A Handler takes a request and returns a response or an error. By default, a bare function implements Handler.

RequestExt
WriteBody

A trait which writes the response body out to a Writer.

Functions

box_error
static_to_body
vec_to_body

Type Definitions

Body
BoxError
Extensions

A Dictionary for extensions provided by the server or middleware

HandlerResult
HttpResult
ResponseResult