Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
socket_io
main
EngineIO
Client
Decoder
Packet
PacketType
SocketIO
Client
CorrelationID
Decoder
Decoders
BaseDecoder
MsgpackDecoder
Emitter
Event
EventHandler
JsonParser
MsgpackParser
Packet
PacketType
Parser
Built with Crystal 1.9.2
2023-10-07 18:33:34 UTC
struct
EngineIO::Packet
EngineIO::Packet
Struct
Value
Object
Defined in:
engine_io/packet.cr
Constructors
.new
(type : PacketType, data : String | Bytes | Nil =
nil
)
Instance Method Summary
#data
: String | Bytes | Nil
#type
: PacketType
Constructor Detail
def self.
new
(type :
PacketType
, data : String | Bytes | Nil =
nil
)
#
[
View source
]
Instance Method Detail
def
data
: String | Bytes | Nil
#
[
View source
]
def
type
:
PacketType
#
[
View source
]