Module salvo::http[][src]

Types that map to concepts in HTTP.

This module exports types that map to HTTP concepts or to the underlying HTTP library when needed. Because the underlying HTTP library is likely to change (see #17), types in [hyper] should be considered unstable.

Modules

body_chunk

Client- and server-side abstractions for HTTP multipart/form-data requests using asynchronous I/O.

cookie

HTTP cookie parsing and cookie jar management.

errors
form
header

HTTP header types

headers

Typed HTTP Headers

multipart
range
request
response

Structs

HeaderMap

A set of HTTP headers

HeaderValue

Represents an HTTP header field value.

HttpError
HttpRange

HTTP Range header representation.

Method

The Request Method (VERB)

Mime

A parsed mime or media type.

Request

Represents an HTTP request.

Response

Represents an HTTP response

StatusCode

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

Enums

ReadError

Traits

BodyChunk

Functions

guess_accept_mime