MqttConnectionContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
MQTT Request context from headers following CloudEvents.
[System.Runtime.Serialization.DataContract]
public class MqttConnectionContext : Microsoft.Azure.WebPubSub.Common.WebPubSubConnectionContext
[<System.Runtime.Serialization.DataContract>]
type MqttConnectionContext = class
inherit WebPubSubConnectionContext
Public Class MqttConnectionContext
Inherits WebPubSubConnectionContext
- Inheritance
- Attributes
Constructors
MqttConnectionContext(WebPubSubEventType, String, String, String, String, String, String, String, String, IReadOnlyDictionary<String, BinaryData>, IReadOnlyDictionary<String,String[]>) |
The MQTT connection context contains the CloudEvents headers under Web PubSub protocol. |
Properties
ConnectionId |
The connection-id of the client. (Inherited from WebPubSubConnectionContext) |
ConnectionStates |
The connection states. (Inherited from WebPubSubConnectionContext) |
EventName |
The event name of the message. (Inherited from WebPubSubConnectionContext) |
EventType |
The type of the message. (Inherited from WebPubSubConnectionContext) |
Headers |
The headers of request. (Inherited from WebPubSubConnectionContext) |
Hub |
The hub which the connection belongs to. (Inherited from WebPubSubConnectionContext) |
Origin |
Upstream origin. (Inherited from WebPubSubConnectionContext) |
PhysicalConnectionId |
The unique identifier generated by the service of the network connection. |
SessionId |
The unique identifier generated by the service of the MQTT session. |
Signature |
The signature for validation. (Inherited from WebPubSubConnectionContext) |
UserId |
The user identity of the client. (Inherited from WebPubSubConnectionContext) |
Applies to
Azure SDK for .NET