Class ResponseMessageSerializer
Allows to deserialize a ResponseMessage<T>.
Inherited Members
Namespace: Gremlin.Net.Structure.IO.GraphBinary
Assembly: Gremlin.Net.dll
Syntax
public class ResponseMessageSerializer
Methods
ReadValueAsync(MemoryStream, GraphBinaryReader, CancellationToken)
Reads a response message from the stream.
Declaration
public Task<ResponseMessage<List<object>>> ReadValueAsync(MemoryStream stream, GraphBinaryReader reader, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| MemoryStream | stream | The GraphBinary data to parse. |
| GraphBinaryReader | reader | A GraphBinaryReader that can be used to read nested values. |
| CancellationToken | cancellationToken | The token to cancel the operation. The default value is None. |
Returns
| Type | Description |
|---|---|
| Task<ResponseMessage<List<object>>> | The read response message. |