class

Sellia::Server::WSGateway

Inherits Reference / Object

Constants

Log = ::Log.for("sellia.server.ws")
PING_INTERVAL = 30.seconds
PING_TIMEOUT = 60.seconds

Constructors

new(connection_manager : ConnectionManager, tunnel_registry : TunnelRegistry, auth_provider : AuthProvider, pending_requests : PendingRequestStore, pending_websockets : PendingWebSocketStore, rate_limiter : CompositeRateLimiter, domain : String = "localhost", port : Int32 = 3000, use_https : Bool = false)
Source

Instance methods

auth_provider
Source
auth_provider=(auth_provider : AuthProvider)
Source
connection_manager
Source
connection_manager=(connection_manager : ConnectionManager)
Source
domain
Source
domain=(domain : String)
Source
handle(socket : HTTP::WebSocket)
Source
pending_requests
Source
pending_requests=(pending_requests : PendingRequestStore)
Source
pending_websockets
Source
pending_websockets=(pending_websockets : PendingWebSocketStore)
Source
port
Source
port=(port : Int32)
Source
rate_limiter
Source
rate_limiter=(rate_limiter : CompositeRateLimiter)
Source
tunnel_registry
Source
tunnel_registry=(tunnel_registry : TunnelRegistry)
Source
use_https
Source
use_https=(use_https : Bool)
Source