Skip to content

Interface: RealtimeSocket

Defined in: packages/aiui-claude-channel/src/session-core.ts:50

The minimal upstream socket the session drives — a subset of ws's surface, so a test can supply a scripted fake with no network. The factory wires the handlers; the returned object is what the session sends on / closes.

Methods

close()

close(): void

Defined in: packages/aiui-claude-channel/src/session-core.ts:52

Returns

void


send()

send(text): void

Defined in: packages/aiui-claude-channel/src/session-core.ts:51

Parameters

text

string

Returns

void