Limit

The bounds an endpoint keeps. New ones may be added before 1.0; use an else branch.

Entries

Link copied to clipboard

CoapEndpointConfig.maxDeduplicationEntries: a new message from peer was dropped, because every message remembered must still be processed at most once (RFC 7252 §4.5), or because it was a non-idempotent request, which would have had to be remembered too, while three quarters of the bound hold such messages.

Link copied to clipboard

CoapEndpointConfig.maxDeduplicationEntriesPerPeer: a new message from peer was dropped, because every message remembered from peer must still be processed at most once (RFC 7252 §4.5).

Link copied to clipboard

CoapEndpointConfig.maxConcurrentRequests: a request was answered with 5.03, or dropped.

Link copied to clipboard

CoapEndpointConfig.maxExchangesPerPeer: a request failed, or a separate response or notification was not sent.

Link copied to clipboard

CoapEndpointConfig.maxExchanges: a request to peer failed, a separate response to peer was not sent, or a notification to peer was not sent yet (it goes later, with the latest state); or a Confirmable message to peer that a retransmission had not got acknowledged either was given up early, to make room for a new one.

Link copied to clipboard

CoapEndpointConfig.maxReservedMessageIds: a message to peer that needed a new Message ID, a request, a separate response or a notification, was not sent (RFC 7252 §4.4), a notification not yet (it goes later, with the latest state). A response to a Non-confirmable request is refused already at three quarters of the bound.

Link copied to clipboard

CoapEndpointConfig.maxReservedMessageIdsPerPeer: a message to peer that needed a new Message ID was not sent (RFC 7252 §4.4), as for MESSAGE_IDS.

Link copied to clipboard

CoapServerConfig.maxObservers: a registration was served without Observe.

Link copied to clipboard

CoapServerConfig.maxObserversPerResource: a registration was served without Observe.

Link copied to clipboard

CoapServerConfig.maxObserversPerPeer: a registration was served without Observe.

Link copied to clipboard
Link copied to clipboard

ReliableTransportConfig.maxConnections: an accepted connection was closed.

Link copied to clipboard

CoapServerConfig.amplificationFactor: a response to an address not yet verified was held back, and a 4.01 Unauthorized with Echo went to that address instead (RFC 9175 §2.4 item 3).

Link copied to clipboard

CoapServerConfig.maxVerifiedAddresses: peer, the address verified longest ago, was forgotten to make room for a newly verified one; it is challenged again when it next needs to be verified.

Link copied to clipboard

CoapServerConfig.maxVerifiedAddresses: the oldest outstanding Echo challenge, the one sent to peer, was dropped for a new one; that Echo value no longer verifies the address.

Link copied to clipboard

CoapServerConfig.maxConcurrentTransfers: the response held back longest, that of a POST or PATCH from peer kept for its repeat with Echo, was dropped for a new one (RFC 9175 §2.4 item 3). When that repeat comes, the request runs again.

Link copied to clipboard

QBlockServerConfig.maxPartialBodies: a Q-Block1 upload from peer that would start one more partial body was refused with 5.03 Service Unavailable and Max-Age (RFC 9177 §4.3, RFC 7959 §7.1).

Link copied to clipboard

QBlockServerConfig.maxBodiesPerPeer: a new Q-Block1 upload from peer was refused with 5.03 and Max-Age, or the oldest Q-Block2 body kept for peer was dropped for a new one.

Link copied to clipboard

QBlockServerConfig.maxCachedBodies: the Q-Block2 body, or the record of a completed Q-Block1 body, used longest ago, that of peer, was dropped for a new one. A later request for its missing blocks runs a GET or FETCH again and gets 4.08 for other methods (RFC 9177 §4.4).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.