class

Via::Runtime::WebSocketRegistry

Inherits Reference < Object

Tracks upgraded connections independently from configuration generations so hot reloads do not interrupt them and shutdown can apply one grace period.

Constructors

Instance methods

attach(entry : Entry, downstream : IO) : Bool
Source
close
Source
drain(timeout : Time::Span) : Nil
Source
release(entry : Entry) : Nil
Source
reserve(upstream : IO) : Entry
Source

Nested types