Skip to content

Interface: ChannelClientOptions

Defined in: packages/aiui-claude-channel/src/client.ts:22

Properties

codec?

optional codec?: PayloadCodec<unknown>

Defined in: packages/aiui-claude-channel/src/client.ts:32

Codec used to encode payloads — must match what the server's format decodes with. Defaults to jsonCodec (right for text formats like text-concat); pass rawCodec for binary media formats.


format

format: string

Defined in: packages/aiui-claude-channel/src/client.ts:26

Stream format to declare in the hello (must be one the server knows).


url

url: string

Defined in: packages/aiui-claude-channel/src/client.ts:24

The server's websocket URL, e.g. ws://127.0.0.1:<port>/ws.