rama/http/
mod.rs

1//! rama http support
2//!
3//! mostly contains re-exports from
4//! `rama-http` and `rama-http-backend`.
5
6#[doc(inline)]
7pub use ::rama_http::{
8    Body, BodyDataStream, BodyExtractExt, BodyLimit, HeaderMap, HeaderName, HeaderValue, HttpError,
9    HttpResult, InfiniteReader, Method, Request, Response, Scheme, StatusCode, StreamingBody, Uri,
10    Version, body, conn, convert, header, headers, io, matcher, mime, opentelemetry, proto,
11    request, response, service, sse, uri, utils,
12};
13
14#[cfg(feature = "http-full")]
15#[doc(inline)]
16pub use ::rama_http_core as core;
17
18pub mod layer {
19    //! Http [`Layer`][crate::Layer]s provided by Rama.
20    //!
21    //! mostly contains re-exports from
22    //! `rama-http` and `rama-http-backend`.
23
24    #[doc(inline)]
25    pub use ::rama_http::layer::*;
26
27    #[cfg(feature = "http-full")]
28    #[doc(inline)]
29    pub use ::rama_http_backend::server::layer::*;
30}
31
32#[cfg(feature = "http-full")]
33pub mod client;
34
35#[cfg(feature = "http-full")]
36#[doc(inline)]
37pub use ::rama_http_backend::server;
38
39#[cfg(feature = "ws")]
40#[doc(inline)]
41pub use ::rama_ws as ws;
42
43#[cfg(feature = "tls")]
44pub mod tls;