Module server

Source
Expand description

Trustchain HTTP router type and functionality for spawning HTTP and HTTPS servers.

Structs§

TrustchainRouter
A wrapped axum router combining Trustchain HTTP handlers for resolution (DIDs, chains, bundles), verification (VCs and VPs), issuance (VCs), root candidate retrieval and communication with an ION node.

Functions§

http_server
Spawns a Trustchain server given HTTPConfig with http.
https_server
Spawns a Trustchain server given HTTPConfig with https.