Share via


@azure/web-pubsub-express package

Classes

WebPubSubEventHandler

The handler to handle incoming CloudEvents messages

Interfaces

Certificate

The client certificate.

ConnectErrorResponse

Response of a failed connect event.

ConnectRequest

Request for the connect event.

ConnectResponse

Response of the connect event.

ConnectResponseHandler

The handler to set connect event response

ConnectedRequest

Request for the connected event.

ConnectionContext

The connection context representing the client WebSocket connection.

DisconnectedRequest

Request for the disconnected event.

MqttConnectErrorResponse

Response of an MQTT connection failure.

MqttConnectErrorResponseProperties

The properties of an MQTT connection failure response.

MqttConnectProperties

The properties of the MQTT CONNECT packet.

MqttConnectRequest

Request for the MQTT connect event.

MqttConnectResponse

Success respones of the connect event.

MqttConnectResponseProperties

The properties of a successful MQTT connection event response

MqttConnectionContextProperties

The connection context properties representing the MQTT client WebSocket connection.

MqttDisconnectPacket

The properties of the MQTT DISCONNECT packet.

MqttDisconnectedProperties

The properties of an MQTT disconnected event.

MqttDisconnectedRequest

Request for the disconnected event.

MqttUserProperty

The properties of a user in MQTT.

UserEventResponseHandler

The handler to set user event response

WebPubSubEventHandlerOptions

The options for the CloudEvents handler.

Type Aliases

UserEventRequest

Request for the user event.

WebPubSubClientProtocol

The protocol of Web PubSub Client.

Enums

MqttDisconnectReasonCode

MQTT 5.0 Disconnect Reason Codes.

MqttV311ConnectReturnCode

MQTT 3.1.1 Connect Return Codes.

MqttV500ConnectReasonCode

MQTT Connect Reason Codes These codes represent the reasons for the outcome of an MQTT CONNECT packet as per MQTT 5.0 specification.