pub fn serve<F>(
endpoint: IrohEndpoint,
options: ServeOptions,
on_request: F,
) -> ServeHandleExpand description
Start the serve accept loop.
This is the 3-argument form for backward compatibility.
Use serve_with_events to also receive peer connect/disconnect callbacks.