Options
All
  • Public
  • Public/Protected
  • All
Menu

{@link }参数定义

Hierarchy

  • StompSocketConfig

Index

Properties

configUrl

configUrl: string

获取配置的地址

connectUrl

connectUrl: string

WebSocket连接地址

enableACK

enableACK: boolean

是否开启消息ack机制, 如果为 true 发送的信令消息除非指定为 false 否则默认都会需要ack响应

headers

headers: StompSocketHeader

使用STOMP协议进行连接时所需要的验证信息

heartbeatUrl

heartbeatUrl: string

心跳destination

interval

interval: number

心跳间隔, 单位: ms

maxReconnectCount

maxReconnectCount: number

最大重连次数

receiveUrl

receiveUrl: string

接收消息的destination

reconnectInterval

reconnectInterval: number

重连间隔, 单位: ms

sendUrl

sendUrl: string

默认发送消息的destination, IStompSocket.sendTo的默认destination

sessionUrl

sessionUrl: string

获取session的地址

timeout

timeout: number

心跳超时次数(n次未收到心跳响应后认为心跳超时)

Generated using TypeDoc