Skip to main content

enable_request_counting

Function enable_request_counting 

Source
pub(crate) fn enable_request_counting()
Expand description

Enable the global request counter (disabled by default).

Once enabled every request proxied increments an atomic counter that can be read with get_request_count. Useful for testing and load-measurement.