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
class
SocketIO::Decoders::MsgpackDecoder
SocketIO::Decoders::MsgpackDecoder
SocketIO::Decoder
Reference
Object
Defined in:
socket_io/decoders/msgpack_decoder.cr
Constructors
.new
Instance Method Summary
#decode
(message : String | Bytes) : Packet
#encode
(packet : Packet) : Bytes | String
Instance methods inherited from class
SocketIO::Decoder
decode(message : String | Bytes) : Packet
decode
,
encode(packet : Packet) : String | Bytes
encode
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
decode
(message : String | Bytes) :
Packet
#
[
View source
]
def
encode
(packet :
Packet
) : Bytes | String
#
[
View source
]