Expand description
rama http support
mostly contains re-exports from
rama-http and rama-http-backend.
Modules§
- body
- extra http body types and utilities.
- client
- rama http client support
- conn
- HTTP connection utilities.
- convert
- Modules for conversions between types or data.
- core
- Rama http protocol implementation and low level utilities.
- 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 onrama_http_types::Requests.- mime
- Re-export of the
mimecrate. - opentelemetry
- Opentelemetry utilities
- proto
- High level pertaining to the HTTP message protocol.
- request
- response
- server
- Rama HTTP server module,
which provides the
HttpServertype to serve HTTP requests. - service
- Http Services provided by Rama.
- sse
- Server-Sent Events (SSE) support
- tls
- tls features provided from the http layer.
- uri
- URI component of request and response lines
- utils
- Utilities for HTTP.
- ws
- WebSocket (WS) support for rama (RFC 6455).
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.
- Http
Error - A generic “error” for HTTP connections
- Infinite
Reader - A(n) (in)finite random byte stream implementing [
AsyncRead]. - Method
- The Request Method (VERB)
- Request
- Represents an HTTP request.
- Response
- Represents an HTTP response
- Scheme
- Represents the scheme component of a URI
- Status
Code - An HTTP status code (
status-codein 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
StreamingBodythat provides methods to extract data from it. - Streaming
Body - Trait representing a streaming body of a Request or Response.
Type Aliases§
- Http
Result - A
Resulttypedef to use with thehttp::Errortype