Module nft_server::server
source · [−]Expand description
Servers
Functions
Simple handler that consults the metadata generator, and returns EITHER the
contract metadata, or a 404
Simple handler that consults the metadata generator, and returns EITHER the
token metadata, or a 404
Handler for healthcheck
Fallback handler that returns a 404 with body
"unknown route"
Serve an NFT generator at the specified socket address.
Serve an NFT generator at the specified socket address, running in a
provided span.
Serve an app with some shared state at the specified socket address.
Intended to allow full customization of the router. If a simple
no-customization JSON metadata server is required, instead use
serve_generator
.Serve an app with some shared state at the specified socket address
instrumented with the provided span.