Skip to main content

dispatch_discovery

Function dispatch_discovery 

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

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