Table of Contents

Class SessionWebhook

Namespace
XENBIT.ResQueServe.Abstractions.Models
Assembly
RQS.Abstractions.dll

Represents a webhook for registering HTTP callbacks to handle managed session events.

public record SessionWebhook : IEquatable<SessionWebhook>
Inheritance
SessionWebhook
Implements
Derived
Inherited Members

Properties

Events

Gets or sets the types of session events that trigger the webhook.

public IEnumerable<SessionEventType>? Events { get; set; }

Property Value

IEnumerable<SessionEventType>

Headers

Gets or sets the headers included in the webhook HTTP requests.

public IDictionary<string, string>? Headers { get; set; }

Property Value

IDictionary<string, string>

Method

Gets or sets the HTTP method used for the webhook (e.g., GET, POST).

public SessionWebhookMethod? Method { get; set; }

Property Value

SessionWebhookMethod?

Url

Gets or sets the URL to which the webhook will send HTTP requests.

public required string Url { get; set; }

Property Value

string