Skip to main content

API

ReactiveCodecโ€‹

Base class for all codecs.

Declaration
abstract interface class ReactiveCodec {
String mimeType()
Uint8List encode(dynamic input)
dynamic decode(Uint8List input)
}

ReactiveMessagePackCodecโ€‹

Codec for msgpack.

Declaration
class ReactiveMessagePackCodec implements ReactiveCodec {
dynamic decode(Uint8List input)
Uint8List encode(dynamic input)
String mimeType()
}

ReactiveUtf8Codecโ€‹

Codec for strings.

Declaration
class ReactiveUtf8Codec implements ReactiveCodec {
dynamic decode(Uint8List input)
Uint8List encode(dynamic input)
String mimeType()
}

Codec for data retransmitting.

ReactiveRawCodecโ€‹

Declaration
class ReactiveMessagePackCodec implements ReactiveCodec {
dynamic decode(Uint8List input)
Uint8List encode(dynamic input)
String mimeType()
}