Skip to content

网关:适配器内部的一个独立连接单元(如一条 WebSocket 连接)

Properties ​

name ​

readonly name: string

Methods ​

start() ​

start(): void | Promise<void>

Returns ​

void | Promise<void>


stop() ​

stop(reason?): void | Promise<void>

Parameters ​

reason? ​

string

Returns ​

void | Promise<void>

Released under the MIT License with love.