Skip to main content

dispatch_metrics

Function dispatch_metrics 

Source
pub async fn dispatch_metrics<H: MetricsHandler>(
    handler: &H,
    ctx: &EnvelopeContext,
    body: &DecodedRequestBody,
) -> Result<(Vec<u8>, Option<Continuation>)>
Expand description

Dispatch a Metrics request: deserialize, call handler, serialize response.