Search Results for

    Show / Hide Table of Contents

    Class ResponseMessageSerializer

    Allows to deserialize a ResponseMessage<T>.

    Inheritance
    object
    ResponseMessageSerializer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In this article
    Back to top Copyright © 2018 The Apache Software Foundation