Implement WS v1 protocol and runtime-config powered debug drawer
This commit is contained in:
@@ -87,6 +87,9 @@ class Settings(BaseSettings):
|
||||
# WebSocket heartbeat and inactivity
|
||||
inactivity_timeout_sec: int = Field(default=60, description="Close connection after no message from client (seconds)")
|
||||
heartbeat_interval_sec: int = Field(default=50, description="Send heartBeat event to client every N seconds")
|
||||
ws_protocol_version: str = Field(default="v1", description="Public WS protocol version")
|
||||
ws_api_key: Optional[str] = Field(default=None, description="Optional API key required for WS hello auth")
|
||||
ws_require_auth: bool = Field(default=False, description="Require auth in hello message even when ws_api_key is not set")
|
||||
|
||||
@property
|
||||
def chunk_size_bytes(self) -> int:
|
||||
|
||||
Reference in New Issue
Block a user