Module http

Source
Expand description

rama http support

mostly contains re-exports from rama-http and rama-http-backend.

Modules§

client
Rama HTTP client module, which provides the EasyHttpWebClient type to serve HTTP requests.
conn
HTTP connection utilities.
core
Rama http protocol implementation and low level utilities.
dep
Dependencies for rama http modules.
header
HTTP header types
headers
typed http headers
io
http I/O utilities, e.g. writing http requests/responses in std http format.
layer
Http Layers provided by Rama.
matcher
service::Matchers implementations to match on rama_http_types::Requests.
proto
High level pertaining to the HTTP message protocol.
response
Types and traits for generating responses.
server
Rama HTTP server module, which provides the HttpServer type to serve HTTP requests.
service
Http Services provided by Rama.

Structs§

Body
The body type used in rama requests and responses.
BodyDataStream
A stream of data frames.
BodyLimit
Can be used to communicate the desire to limit the size of request/response bodies.
HeaderMap
A set of HTTP headers
HeaderName
Represents an HTTP header field name
HeaderValue
Represents an HTTP header field value.
Method
The Request Method (VERB)
Scheme
Represents the scheme component of a URI
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
Uri
The URI component of a request.
Version
Represents a version of the HTTP spec.

Traits§

BodyExtractExt
An extension trait for Body that provides methods to extract data from it.
IntoResponse
Trait for generating responses.

Type Aliases§

Request
Type alias for http::Request whose body type defaults to Body, the most common body type used with rama.
Response
Type alias for http::Response whose body type defaults to Body, the most common body type used with rama.