Skip to main content

build_request_event

Function build_request_event 

Source
pub fn build_request_event(
    proxy_name: &str,
    cx: &Context,
    resp: &Response,
) -> RequestEvent
Expand description

Build a RequestEvent from the accumulated context and the final response. Separated from emit so it can be unit-tested without a live event bus.