Server API¶
server
¶
Core server implementation for accepting WebTransport connections.
ServerDiagnostics
dataclass
¶
Encapsulate a snapshot of server health.
issues
property
¶
Return a list of potential issues based on the current diagnostics.
ServerStats
dataclass
¶
Encapsulate server statistics.
WebTransportServer
¶
Manage the lifecycle and connections for the WebTransport server.
connection_manager
property
¶
Return the server's connection manager instance.
local_addresses
property
¶
Return the local addresses the server is bound to.
session_manager
property
¶
Return the server's session manager instance.
diagnostics
async
¶
Retrieve a snapshot of the server's diagnostics and statistics.
listen
async
¶
Start the server and begin listening for connections.