MessageCodec
Structured message format codec plugin.
Enables serialization of RPC messages into specific structured data format.
The underlying data format must support arbitrarily nested structures of basic data types. Given library must provide intermediate representation of structured data (i.e. document object model).
Type parameters
- Node
-
message format node type
Attributes
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Deserializes a node from binary data.
Deserializes a node from binary data.
Value parameters
- data
-
binary data in the specific codec
Attributes
- Returns
-
node
Message format media (MIME) type.
Message format media (MIME) type.
Attributes
Serializes a node as binary data.
Serializes a node as binary data.
Value parameters
- node
-
node
Attributes
- Returns
-
binary data in the specific codec
Inherited methods
Decodes a value from a message codec node.
Decodes a value from a message codec node.
Type parameters
- T
-
value type
Value parameters
- node
-
message codec node
Attributes
- Returns
-
value of the specified type
- Inherited from:
- MessageCodecMeta
Encodes a value as a message codec node.
Encodes a value as a message codec node.
Type parameters
- T
-
value type
Value parameters
- value
-
value of given type
Attributes
- Returns
-
message codec node
- Inherited from:
- MessageCodecMeta