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.