Skip to main content

spawn_http_server

Function spawn_http_server 

Source
pub async fn spawn_http_server(
    runtime: HttpRuntime,
    bind_addr: SocketAddr,
    shutdown: Arc<Notify>,
) -> Result<(SocketAddr, JoinHandle<()>), RuntimeError>
Expand description

Spawn HTTP/WS server.