Expand description
rama http services, layers and utilities
§Rama
Crate used by the end-user rama
crate and rama
crate authors alike.
Learn more about rama
:
- Github: https://github.com/plabayo/rama
- Book: https://ramaproxy.org/book/
Modules§
- Dependencies for rama http modules.
- HTTP header types
- typed http headers
- http I/O utilities, e.g. writing http requests/responses in std http format.
- Http
Layer
s provided by Rama. service::Matcher
s implementations to match onhttp::Request
s.- Types and traits for generating responses.
- Http Services provided by Rama.
- Utilities for HTTP.
Structs§
- The body type used in rama requests and responses.
- A stream of data frames.
- Can be used to communicate the desire to limit the size of request/response bodies.
- A set of HTTP headers
- Represents an HTTP header field name
- Represents an HTTP header field value.
- The Request Method (VERB)
- Represents the scheme component of a URI
- An HTTP status code (
status-code
in RFC 7230 et al.). - The URI component of a request.
- Represents a version of the HTTP spec.
Traits§
- An extension trait for
Body
that provides methods to extract data from it. - Trait for generating responses.
Type Aliases§
- Type alias for
http::Request
whose body type defaults toBody
, the most common body type used with rama. - Type alias for
http::Response
whose body type defaults toBody
, the most common body type used with rama.