struct SocketIO::Packet

Defined in:

socket_io/packet.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : PacketType, nsp : String | Nil = nil, data : JSON::Any | Nil = nil, id : UInt64 | Nil = nil) #

[View source]

Instance Method Detail

def data : JSON::Any | Nil #

[View source]
def id : UInt64 | Nil #

[View source]
def nsp : String | Nil #

[View source]
def type : PacketType #

[View source]