Open Sidebar
Close Sidebar
cable
0.3.1
Cable
BackendCore
BackendPinger
BackendRegistry
Channel
Channels
Connection
UnauthorizedConnectionException
Debug
DevBackend
HabitatSettings
Handler
Payload
IdentifierConverter
Indentifier
PARAMS
RESULT
RemoteConnections
Server
WebsocketPinger
class
Cable::
WebsocketPinger
Cable::WebsocketPinger
Reference
Object
Defined in:
cable/websocket_pinger.cr
Constructors
.new
(socket : HTTP::WebSocket)
Class Method Summary
.build
(socket : HTTP::WebSocket)
.run_every
(value : Int32 | Float64, &)
.seconds
Instance Method Summary
#stop
: Nil
Constructor Detail
def self.
new
(socket : HTTP::WebSocket)
#
Class Method Detail
def self.
build
(socket : HTTP::WebSocket)
#
def self.
run_every
(value : Int32 | Float64, &)
#
def self.
seconds
#
Instance Method Detail
def
stop
: Nil
#