ResponseRejected

class ResponseRejected(val peer: Endpoint, val reason: EndpointEvent.ResponseRejected.Reason, val detail: String? = null) : EndpointEvent(source)

A response from peer to a request message security protected, which the client did not act on because it was not verified. Nothing else shows it to an observation, whose collectors a failure would end, which RFC 8613 §8.4.2 forbids for one bad notification. reason is a bounded set fit for counting; detail is what the security layer said, for a log.

Constructors

Link copied to clipboard
constructor(peer: Endpoint, reason: EndpointEvent.ResponseRejected.Reason, detail: String? = null)

Types

Link copied to clipboard

Why a response was rejected. New reasons may be added before 1.0; use an else branch.

Properties

Link copied to clipboard
Link copied to clipboard
open override val peer: Endpoint

The peer the event concerns.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String