Class: SocketIo::Packet::ConnectPacket

Inherits:
SocketIo::Packet show all
Defined in:
lib/socket.io/packet/connect_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

Constructor Details

This class inherits a constructor from SocketIo::Packet

Instance Method Details

#qsObject



4
5
6
# File 'lib/socket.io/packet/connect_packet.rb', line 4

def qs
  data
end

#to_sObject



10
11
12
# File 'lib/socket.io/packet/connect_packet.rb', line 10

def to_s
  super(qs)
end

#type_idObject



8
# File 'lib/socket.io/packet/connect_packet.rb', line 8

def type_id; 1; end