Skip to main content

Module handler

Module handler 

Source
Expand description

Request handlers for the TAP HTTP server.

This module provides HTTP request handlers for the Transaction Authorization Protocol (TAP) server, including endpoints for DIDComm message processing and health checks.

The handlers leverage the TAP Node for message processing, which handles message validation, verification, and routing through the appropriate agent.

Functionsยง

domain_to_did_web
Convert a sanitized domain (with optional port) to a did:web DID.
handle_didcomm
Handler for DIDComm messages.
handle_health_check
Handler for health check requests.
handle_well_known_did
Handler for /.well-known/did.json requests.
sanitize_domain
Sanitize and validate a domain name from an HTTP Host header.