Interface IMessageSerializer
Serializes data to and from Gremlin Server.
Namespace: Gremlin.Net.Driver
Assembly: cs.temp.dll.dll
Syntax
public interface IMessageSerializer
Methods
DeserializeMessageAsync(Byte[])
Deserializes a
Declaration
Task<ResponseMessage<List<object>>> DeserializeMessageAsync(byte[] message)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | message | The serialized message to deserialize. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResponseMessage<List<System.Object>>> | The deserialized |
SerializeMessageAsync(RequestMessage)
Serializes a
Declaration
Task<byte[]> SerializeMessageAsync(RequestMessage requestMessage)
Parameters
Type | Name | Description |
---|---|---|
RequestMessage | requestMessage | The |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Byte[]> | The serialized message. |