Skip to content

PollResponse Class

The body a SET Transmitter returns to a poll (RFC 8936 Section 2.3): the SETs being delivered, keyed by "jti" with each value the compact serialization, and whether more wait behind them.

C#
public record PollResponse : System.IEquatable<Abblix.SecurityEvents.Delivery.PollResponse>

Inheritance System.Object → PollResponse

Implements System.IEquatable<PollResponse>

Properties

PollResponse.MoreAvailable Property

Whether more unacknowledged SETs wait beyond this response. Omitted means false (RFC 8936 Section 2.3), so the property is nullable and an absent member stays absent on re-serialization.

C#
public System.Nullable<bool> MoreAvailable { get; init; }

Property Value

System.Nullable<System.Boolean>

PollResponse.Sets Property

The SETs being delivered - first deliveries and unacknowledged redeliveries alike - keyed by "jti". "If there are no outstanding SETs to be transmitted, the JSON object SHALL be empty" (RFC 8936 Section 2.3), which is why the member is never absent and defaults to the empty map rather than null.

C#
public System.Collections.Generic.IReadOnlyDictionary<string,string> Sets { get; init; }

Property Value

System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>