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

Class RequestModifyingLayer

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

Layer that will be stacked on top of the Hyper client.

Source from the content-addressed store, hash-verified

48
49// Layer that will be stacked on top of the Hyper client.
50struct RequestModifyingLayer;
51
52// Implement the `Layer` trait for the custom layer.
53impl<S> Layer<S> for RequestModifyingLayer {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected