Module http
Available on crate features
http and tower only.Expand description
HTTP tower interop.
TowerHttpServiceAdapter adapts a tower::Service that speaks the
hyperium http::Request/http::Response into a rama Service, converting
the head via rama-http-hyperium and wrapping the bodies
(rama Body ↔ [http_body::Body]) so neither side is copied.
Structs§
- Tower
Http Service Adapter - Adapter to use a tower HTTP
tower::Service— operating onhttp::Request/http::Response— as a ramaService.