MCPcopy Create free account
hub / github.com/alloy-rs/examples / RequestModifyingService

Class RequestModifyingService

examples/layers/examples/hyper_http_layer.rs:63–65  ·  view source on GitHub ↗

Service must be Cloneable.

Source from the content-addressed store, hash-verified

61// Service that will modify the request before it is sent.
62#[derive(Clone)] // Service must be Cloneable.
63struct RequestModifyingService<S> {
64 inner: S,
65}
66
67impl<S, B> Service<hyper::Request<B>> for RequestModifyingService<S>
68where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected