Class: SocketIo::Packet::HeartbeatPacket

Inherits:
SocketIo::Packet show all
Defined in:
lib/socket.io/packet/heartbeat_packet.rb

Constant Summary

Constants inherited from SocketIo::Packet

PACKET_REGEX, PACKET_TYPES

Instance Attribute Summary

Attributes inherited from SocketIo::Packet

#ack, #data, #endpoint, #id

Instance Method Summary collapse

Methods inherited from SocketIo::Packet

#ackdata?, #initialize, #json, parse, parse_json, #to_s

Constructor Details

This class inherits a constructor from SocketIo::Packet

Instance Method Details

#type_idObject



4
# File 'lib/socket.io/packet/heartbeat_packet.rb', line 4

def type_id; 2; end