pub fn spawn_server<F, P>(server_end: ServerEnd<P>, handler: F)
Expand description
Spawn a request handler for the provided server end.
This function will spawn a detached Task to handle requests. Requests will be handled using
the provided handler
function.