你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

@azure/web-pubsub-express package

WebPubSubEventHandler

用于处理传入 CloudEvents 消息的处理程序

接口

Certificate

客户端证书。

ConnectErrorResponse

连接失败事件的响应。

ConnectRequest

请求连接事件。

ConnectResponse

连接事件的响应。

ConnectResponseHandler

用于设置连接事件响应的处理程序

ConnectedRequest

请求连接事件。

ConnectionContext

表示客户端 WebSocket 连接的连接上下文。

DisconnectedRequest

请求断开连接的事件。

MqttConnectErrorResponse

MQTT 连接失败的响应。

MqttConnectErrorResponseProperties

MQTT 连接失败响应的属性。

MqttConnectProperties

MQTT CONNECT 数据包的属性。

MqttConnectRequest

请求 MQTT 连接事件。

MqttConnectResponse

连接事件的成功响应。

MqttConnectResponseProperties

成功的 MQTT 连接事件响应的属性

MqttConnectionContextProperties

表示 MQTT 客户端 WebSocket 连接的连接上下文属性。

MqttDisconnectPacket

MQTT DISCONNECT 数据包的属性。

MqttDisconnectedProperties

MQTT 断开连接事件的属性。

MqttDisconnectedRequest

请求断开连接的事件。

MqttUserProperty

MQTT 中用户的属性。

UserEventResponseHandler

用于设置用户事件响应的处理程序

WebPubSubEventHandlerOptions

CloudEvents 处理程序的选项。

类型别名

UserEventRequest

请求用户事件。

WebPubSubClientProtocol

Web PubSub 客户端的协议。

枚举

MqttDisconnectReasonCode

MQTT 5.0 断开连接原因代码。

MqttV311ConnectReturnCode

MQTT 3.1.1 Connect 返回码。

MqttV500ConnectReasonCode

MQTT Connect 原因代码 这些代码表示根据 MQTT 5.0 规范的 MQTT CONNECT 数据包结果的原因。