pub async fn spawn_http_server(
runtime: HttpRuntime,
bind_addr: SocketAddr,
shutdown: Arc<Notify>,
) -> Result<(SocketAddr, JoinHandle<()>), RuntimeError>Expand description
Spawn HTTP/WS server.
pub async fn spawn_http_server(
runtime: HttpRuntime,
bind_addr: SocketAddr,
shutdown: Arc<Notify>,
) -> Result<(SocketAddr, JoinHandle<()>), RuntimeError>Spawn HTTP/WS server.