Share via


ConnectEventResponse Class

Definition

Response for connect event.

[System.Runtime.Serialization.DataContract]
public class ConnectEventResponse : Microsoft.Azure.WebPubSub.Common.WebPubSubEventResponse
[<System.Runtime.Serialization.DataContract>]
type ConnectEventResponse = class
    inherit WebPubSubEventResponse
Public Class ConnectEventResponse
Inherits WebPubSubEventResponse
Inheritance
ConnectEventResponse
Derived
Attributes

Constructors

ConnectEventResponse()

Default constructor for JsonSerialize.

ConnectEventResponse(String, IEnumerable<String>, String, IEnumerable<String>)

Create an instance of ConnectEventResponse

Properties

ConnectionStates

The connection states.

Groups

Groups.

Roles

User roles.

Subprotocol

Subprotocol.

UserId

UserId.

Methods

ClearStates()

Clear all states.

SetState(String, BinaryData)

Set connection states.

Applies to