Beryl::TLS::SessionCache
A bounded client cache of session tickets, keyed by server name. Each ticket is taken out when it is offered, so it is used once (RFC 9846 §C.4). Safe to share between fibers and threads.
Constructors
Instance methods
largest_server_name_count
Sourcelargest_ticket_count_per_name
Sourcesize
Sourcestore(ticket : SessionTicket) : Nil
Stores ticket, dropping the oldest name when the cache is full.
Takes the newest usable ticket for server_name, or nil.