rama/
http.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, Method,
9    Request, Scheme, StatusCode, Uri, Version, conn, dep, header, headers, io, matcher, proto,
10    response::{self, IntoResponse, Response},
11    service,
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")]
33#[doc(inline)]
34pub use ::rama_http_backend::{client, server};