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
new
SourceInstance methods
attach(entry : Entry, downstream : IO) : Bool
Sourceclose
Sourcedrain(timeout : Time::Span) : Nil
Sourcerelease(entry : Entry) : Nil
Sourcereserve(upstream : IO) : Entry
Source