Share via


WebPubSubConnectionContext Class

Definition

Request context from headers following CloudEvents.

[System.Runtime.Serialization.DataContract]
public class WebPubSubConnectionContext
[<System.Runtime.Serialization.DataContract>]
type WebPubSubConnectionContext = class
Public Class WebPubSubConnectionContext
Inheritance
WebPubSubConnectionContext
Derived
Attributes

Constructors

WebPubSubConnectionContext(WebPubSubEventType, String, String, String, String, String, String, IReadOnlyDictionary<String,BinaryData>, IReadOnlyDictionary<String,String[]>)

The client connection context contains the CloudEvents headers under Web PubSub protocol.

Properties

ConnectionId

The connection-id of the client.

ConnectionStates

The connection states.

EventName

The event name of the message.

EventType

The type of the message.

Headers

The headers of request.

Hub

The hub which the connection belongs to.

Origin

Upstream origin.

Signature

The signature for validation.

UserId

The user identity of the client.

Applies to