Class: SocketIo::Packet::MessagePacket
- Inherits:
-
SocketIo::Packet
- Object
- SocketIo::Packet
- SocketIo::Packet::MessagePacket
- Defined in:
- lib/socket.io/packet/message_packet.rb
Constant Summary
Constants inherited from SocketIo::Packet
Instance Attribute Summary
Attributes inherited from SocketIo::Packet
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
#to_s ⇒ Object
6 7 8 |
# File 'lib/socket.io/packet/message_packet.rb', line 6 def to_s super json end |
#type_id ⇒ Object
4 |
# File 'lib/socket.io/packet/message_packet.rb', line 4 def type_id; 3; end |