Interface: WebSocketLike
Defined in: aiui-intent-runtime/src/protocol.ts:151
The subset of the WebSocket API the client uses — injectable for tests.
Properties
binaryType
binaryType:
string
Defined in: aiui-intent-runtime/src/protocol.ts:152
Methods
addEventListener()
addEventListener(
type,listener):void
Defined in: aiui-intent-runtime/src/protocol.ts:155
Parameters
type
string
listener
(event) => void
Returns
void
close()
close():
void
Defined in: aiui-intent-runtime/src/protocol.ts:154
Returns
void
send()
send(
data):void
Defined in: aiui-intent-runtime/src/protocol.ts:153
Parameters
data
Uint8Array
Returns
void