baml.ws.connect
Open a WebSocket connection with additional request headers.
Reference version
Signature
function baml.ws.connect(
Open a WebSocket connection with additional request headers.
Throws
baml.errors.Ioif the connection or the opening handshake fails.baml.errors.Timeoutif neither completes withintimeout.
Source:<builtin>/baml/ns_ws/ws.bamlbytes 2537–2792