Function spawn

Source
pub async fn spawn<T>(
    name: &'static str,
    api_bind: SocketAddr,
    module: RpcModule<T>,
    max_connections: u32,
    api_secrets: ApiSecrets,
) -> ServerHandle