fedimint_server::net

Module api

Source

Modules§

announcement
http_auth 🔒

Structs§

ApiSecrets
GuardianAuthToken
A token proving the the API call was authenticated
RpcHandlerCtx
A state that has context for the API, passed to each rpc handler callback

Constants§

API_ENDPOINT_TIMEOUT 🔒
How long to wait before timing out client connections

Traits§

HasApiContext
Has the context necessary for serving API endpoints

Functions§

attach_endpoints
check_auth
spawn

Type Aliases§

ApiResult