fedimint_server::net::api

Function spawn

source
pub async fn spawn<T>(
    name: &'static str,
    api_bind_addr: SocketAddr,
    module: RpcModule<RpcHandlerCtx<T>>,
    max_connections: u32,
    force_api_secrets: ApiSecrets,
) -> ServerHandle