CI / ruff (push) Waiting to run
CI / mypy (push) Waiting to run
CI / pytest (push) Waiting to run
CI / package (push) Waiting to run
CI / Install smoke (${{ matrix.label }}) (linux, ubuntu-latest) (push) Blocked by required conditions
CI / Install smoke (${{ matrix.label }}) (macos-arm64, macos-14) (push) Blocked by required conditions
17 lines
498 B
Python
17 lines
498 B
Python
from dataclasses import dataclass, field
|
|
|
|
|
|
@dataclass
|
|
class WebSocketStreamerArguments:
|
|
ws_host: str = field(
|
|
default="0.0.0.0",
|
|
metadata={
|
|
"help": "The host IP address for the WebSocket server. Default is '0.0.0.0' which binds to all "
|
|
"available interfaces on the host machine."
|
|
},
|
|
)
|
|
ws_port: int = field(
|
|
default=8765,
|
|
metadata={"help": "The port number on which the WebSocket server listens. Default is 8765."},
|
|
)
|