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
Layer
s provided by Rama. - matcher
service::Matcher
s implementations to match onrama_http_types::Request
s.- 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.
- Body
Data Stream - A stream of data frames.
- Body
Limit - Can be used to communicate the desire to limit the size of request/response bodies.
- Header
Map - A set of HTTP headers
- Header
Name - Represents an HTTP header field name
- Header
Value - Represents an HTTP header field value.
- Method
- The Request Method (VERB)
- Scheme
- Represents the scheme component of a URI
- Status
Code - 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§
- Body
Extract Ext - An extension trait for
Body
that provides methods to extract data from it. - Into
Response - Trait for generating responses.
Type Aliases§
- Request
- Type alias for
http::Request
whose body type defaults toBody
, the most common body type used with rama. - Response
- Type alias for
http::Response
whose body type defaults toBody
, the most common body type used with rama.