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,
9    InfiniteReader, Method, Request, Response, Scheme, StatusCode, Uri, Version, body, conn, dep,
10    header, headers, io, matcher, opentelemetry, proto, service, sse, utils,
11};
12
13#[cfg(feature = "http-full")]
14#[doc(inline)]
15pub use ::rama_http_core as core;
16
17pub mod layer {
18    //! Http [`Layer`][crate::Layer]s provided by Rama.
19    //!
20    //! mostly contains re-exports from
21    //! `rama-http` and `rama-http-backend`.
22
23    #[doc(inline)]
24    pub use ::rama_http::layer::*;
25
26    #[cfg(feature = "http-full")]
27    #[doc(inline)]
28    pub use ::rama_http_backend::server::layer::*;
29}
30
31#[cfg(feature = "http-full")]
32pub mod client;
33
34#[cfg(feature = "http-full")]
35#[doc(inline)]
36pub use ::rama_http_backend::server;
37
38#[cfg(feature = "ws")]
39#[doc(inline)]
40pub use ::rama_ws as ws;