Skip to content

Function: scribeConnectUrl()

scribeConnectUrl(options?): Promise<string>

Defined in: packages/aiui-cf-creds/src/stt.ts:50

A ready-to-open scribe WebSocket URL: fresh single-use token from the broker route, then the vendor socket URL with the token riding the query param (browsers can't set WebSocket headers). Call immediately before EVERY connect — the token dies at first use; there is nothing to reuse.

Parameters

options?

ScribeConnectOptions = {}

Returns

Promise<string>