Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HeartbeatCommand

Process heartbeat request.

param

option request opts.heartbeat heartbeat interval

Hierarchy

  • HeartbeatCommand

Index

Constructors

constructor

Properties

clients

clients: object

Type declaration

  • [socketId: number]: number

disconnectOnTimeout

disconnectOnTimeout: boolean

heartbeat

heartbeat: number

timeout

timeout: number

timeouts

timeouts: object

Type declaration

  • [socketId: number]: Timer

Methods

clear

  • clear(id: number): void

clearTimers

  • clearTimers(id: number): void

handle