nemo_voice_agent.utils.websocket_url

View as Markdown

Module Contents

Functions

NameDescription
_normalize_websocket_host-
_normalize_websocket_scheme-
build_websocket_urlBuild the client-facing WebSocket URL from trusted server configuration.

API

nemo_voice_agent.utils.websocket_url._normalize_websocket_host(
host: str
) -> str
nemo_voice_agent.utils.websocket_url._normalize_websocket_scheme(
scheme: str
) -> str
nemo_voice_agent.utils.websocket_url.build_websocket_url(
host: str,
port: int,
scheme: str = 'ws'
) -> str

Build the client-facing WebSocket URL from trusted server configuration.