Module handlers

Module handlers 

Source
Expand description

HTTP handlers for the proxy

Structs§

LearningQuery
QomEventsQuery
Query parameters for QoM events
QomHistoryQuery
Query parameters for QoM history
TocCallbackRequest
TOC callback request body
TocCallbackResponse
TOC callback response

Functions§

ai_alpn_handshake
AI-ALPN handshake endpoint
capabilities
Server capabilities endpoint
health
Health check endpoint
learning_samples
Get traffic samples for a specific SType
learning_stats
Get learning/traffic recording statistics
metrics
Prometheus metrics endpoint
proxy_handler
Main proxy handler - forwards requests to upstream
qom_events
Get recent QoM events
qom_history
Get QoM history for trends
qom_persist
Persist QoM history to disk (for maintenance)
qom_summary
Get QoM metrics summary
toc_callback
TOC callback endpoint - receives verification results from external systems
toc_pending_list
List all pending TOC verifications
toc_status
Query TOC status for a callback ID
websocket_handler
WebSocket upgrade handler for MCP/A2A connections