Skip to content

API reference / @chanx-js/codegen / ConnectionInfo

Interface: ConnectionInfo ​

Defined in: analyze.ts:18

Extends ​

Properties ​

address ​

ts
address: string;

Defined in: analyze.ts:9

Inherited from ​

ChannelInfo.address


description? ​

ts
optional description?: string;

Defined in: analyze.ts:10

Inherited from ​

ChannelInfo.description


heartbeat ​

ts
heartbeat: boolean;

Defined in: analyze.ts:15

Sends ping and receives pong, so the runtime may heartbeat it.

Inherited from ​

ChannelInfo.heartbeat


key ​

ts
key: string;

Defined in: analyze.ts:6

Key in channels.

Inherited from ​

ChannelInfo.key


name ​

ts
name: string;

Defined in: analyze.ts:8

chanx's own name for the channel, used as the descriptor's name.

Inherited from ​

ChannelInfo.name


toClient ​

ts
toClient: string[];

Defined in: analyze.ts:12

Inherited from ​

ChannelInfo.toClient


topic? ​

ts
optional topic?: TopicExtension;

Defined in: analyze.ts:13

Inherited from ​

ChannelInfo.topic


topics ​

ts
topics: ChannelInfo[];

Defined in: analyze.ts:19


toServer ​

ts
toServer: string[];

Defined in: analyze.ts:11

Inherited from ​

ChannelInfo.toServer

MIT licensed