Interface

ConnectionConfig

ConnectionConfig

Members

number

# pollCount Optional

轮询消息数。使用 WebSocket 时则无意义

View Source src/objects/Config.ts, line 33

number

# pollPeriod Optional

轮询周期,毫秒为单位。使用 WebSocket 时则无意义

View Source src/objects/Config.ts, line 28

number

# timeout Optional

连接超时时间,毫秒为单位

View Source src/objects/Config.ts, line 23

string

# uri

URI

View Source src/objects/Config.ts, line 19