Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cable
v0.3.1
Cable
BackendCore
Channel
CloseRedisFiber
Channels
Connection
UnathorizedConnectionException
Debug
DevBackend
HabitatSettings
Handler
Payload
IdentifierConverter
Indentifier
PARAMS
RESULT
RedisBackend
RedisPinger
RemoteConnections
Server
WebsocketPinger
Built with Crystal 1.9.2
2023-10-08 03:04:33 UTC
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)
#
[
View source
]
Class Method Detail
def self.
build
(socket : HTTP::WebSocket)
#
[
View source
]
def self.
run_every
(value : Int32 | Float64, &)
#
[
View source
]
def self.
seconds
#
[
View source
]
Instance Method Detail
def
stop
: Nil
#
[
View source
]