Condividi tramite


ConnectEventResponse Class

Definition

Response for connect event.

public class ConnectEventResponse : Microsoft.Azure.Functions.Worker.WebPubSubEventResponse
type ConnectEventResponse = class
    inherit WebPubSubEventResponse
Public Class ConnectEventResponse
Inherits WebPubSubEventResponse
Inheritance
ConnectEventResponse

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