Skip to main content

Module rendezvous

Module rendezvous 

Source
Expand description

In-memory rendezvous session exchange.

The service holds short-lived client rendezvous payloads, conditional validators, and per-client rate-limit buckets. Sessions are bounded in count and intentionally disappear on restart.

Structsยง

Meta
HTTP metadata associated with a rendezvous payload.
Service
Stores bounded rendezvous sessions and request rate-limit state.
Session ๐Ÿ”’
Complete process-local state for one rendezvous session.

Enumsยง

Get
Outcome of retrieving a rendezvous session.
Put
Outcome of conditionally replacing a rendezvous payload.
Validator ๐Ÿ”’
Conditional validator accepted by the update state machine.

Constantsยง

ETAG_LENGTH ๐Ÿ”’
ETAG_VALUE_LENGTH ๐Ÿ”’
MAX_HTTP_DATE_SECONDS ๐Ÿ”’
MILLIS_PER_SECOND ๐Ÿ”’
MONOTONIC_STEP ๐Ÿ”’
RATELIMIT_MAP_CAP ๐Ÿ”’
SESSION_ID_LENGTH ๐Ÿ”’

Functionsยง

check_bucket_at ๐Ÿ”’
etag ๐Ÿ”’
etag_matches ๐Ÿ”’
etag_value ๐Ÿ”’
expires_at ๐Ÿ”’
get_outcome ๐Ÿ”’
next_last_modified ๐Ÿ”’

Type Aliasesยง

Etag
Quoted HTTP entity tag for rendezvous payload state.
Ratelimiter ๐Ÿ”’
SessionId
Fixed-capacity identifier for a rendezvous session.
Sessions ๐Ÿ”’