valkyrie-docs/docs/api/valkyrie-js.channelconnection._constructor_.md
2023-08-02 00:58:34 +12:00

624 B

Home > valkyrie-js > ChannelConnection > (constructor)

ChannelConnection.(constructor)

Constructs a new instance of the Connection class

Signature:

constructor(stream: Stream, channel: string, name?: string);

Parameters

Parameter Type Description
stream Stream
channel string
name string (Optional)