PayloadMixIn mixin

Mixin applications

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

decodePayload(Uint8List payload) → Map
encodePayload(Map info) → Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
padPayload(Map<Object?, Object?> body, {required Config config}) → Uint8List
Pad the JSON body to at least Config.handshakeMinPayload bytes with a 'blah' field (docs/client.md section 5.1): the value repeats 'blah' separated by spaces, so the padded body may exceed the minimum by up to 4 bytes.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited