Class RequestMessageSerializer
Allows to serialize a
Inheritance
System.Object
RequestMessageSerializer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Structure.IO.GraphBinary
Assembly: cs.temp.dll.dll
Syntax
public class RequestMessageSerializer
Methods
WriteValueAsync(RequestMessage, MemoryStream, GraphBinaryWriter, CancellationToken)
Write the request message to a stream.
Declaration
public async Task WriteValueAsync(RequestMessage requestMessage, MemoryStream stream, GraphBinaryWriter writer, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RequestMessage | requestMessage | The message to serialize. |
MemoryStream | stream | The stream to write to. |
GraphBinaryWriter | writer | A GraphBinaryWriter that can be used to write nested values. |
CancellationToken | cancellationToken | The token to cancel the operation. The default value is None. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task that represents the asynchronous write operation. |