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