Skip to content

API Reference

Technical reference for the PyWebTransport public interface.

Module Description Key Components
Client WebTransport client. WebTransportClient
Configuration Common configuration. ClientConfig, ServerConfig
Connection WebTransport connection. WebTransportConnection
Constants Common constants. ErrorCodes
Events Event emitter. Event, EventEmitter, EventHandler
Exceptions Common exceptions. StreamError, WebTransportError
Server WebTransport server. WebTransportServer
Session WebTransport session. WebTransportSession
Stream WebTransport stream. WebTransportReceiveStream, WebTransportSendStream, WebTransportStream
Types Common types. SessionId, StreamId, StreamReceiveState, StreamSendState
Utils General utilities. generate_self_signed_cert, init_tracing