Skip to main content

serve_on

Function serve_on 

Source
pub fn serve_on(server: Server, state: Arc<State>)
Expand description

Test/embedded entry: takes an already-bound Server and runs until it stops accepting requests. Returns immediately when the Server is dropped on another thread.