Search Results for

    Show / Hide Table of Contents

    Class RequestMessageSerializer

    Allows to serialize a RequestMessage.

    Inheritance
    object
    RequestMessageSerializer
    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 RequestMessageSerializer

    Methods

    WriteValueAsync(RequestMessage, MemoryStream, GraphBinaryWriter, CancellationToken)

    Write the request message to a stream.

    Declaration
    public Task WriteValueAsync(RequestMessage requestMessage, MemoryStream stream, GraphBinaryWriter writer, CancellationToken cancellationToken = default)
    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
    Task

    A task that represents the asynchronous write operation.

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