Partilhar via


ConnectEventRequest Class

Definition

Connect event request.

public sealed class ConnectEventRequest : Microsoft.Azure.Functions.Worker.WebPubSubEventRequest
type ConnectEventRequest = class
    inherit WebPubSubEventRequest
Public NotInheritable Class ConnectEventRequest
Inherits WebPubSubEventRequest
Inheritance
ConnectEventRequest

Constructors

ConnectEventRequest()

Properties

Claims

User Claims.

ClientCertificates

Client certificates.

ConnectionContext

Connection context contains connection metadata following CloudEvents.

(Inherited from WebPubSubEventRequest)
Headers

Request headers.

Query

Request query.

Subprotocols

Supported subprotocols.

Methods

CreateErrorResponse(WebPubSubErrorCode, String)

Create EventErrorResponse. Methods works for Function Extensions. And AspNetCore SDK Hub methods can directly throw exception for error cases.

CreateResponse(String, IEnumerable<String>, String, IEnumerable<String>)

Create ConnectEventResponse.

Applies to