Expand description
Trustchain HTTP router type and functionality for spawning HTTP and HTTPS servers.
Structs§
- Trustchain
Router - 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.