MCPcopy Create free account
hub / github.com/envoyproxy/dynamic-modules-examples / on_response_headers

Method on_response_headers

rust/src/http_metrics.rs:101–110  ·  view source on GitHub ↗
(
        &mut self,
        envoy_filter: &mut EHF,
        end_of_stream: bool,
    )

Source from the content-addressed store, hash-verified

99 }
100
101 fn on_response_headers(
102 &mut self,
103 envoy_filter: &mut EHF,
104 end_of_stream: bool,
105 ) -> abi::envoy_dynamic_module_type_on_http_filter_response_headers_status {
106 if end_of_stream {
107 self.record_latency(envoy_filter);
108 }
109 abi::envoy_dynamic_module_type_on_http_filter_response_headers_status::Continue
110 }
111
112 fn on_response_body(
113 &mut self,

Callers

nothing calls this directly

Calls 1

record_latencyMethod · 0.80

Tested by

no test coverage detected