IJsonRpcAsyncMessageTextFormatter Interface

Definition

An interface that offers JsonRpcMessage serialization to an IBufferWriter<T> and asynchronous deserialization and formats messages as JSON (text).

public interface IJsonRpcAsyncMessageTextFormatter : StreamJsonRpc.IJsonRpcAsyncMessageFormatter, StreamJsonRpc.IJsonRpcMessageTextFormatter
type IJsonRpcAsyncMessageTextFormatter = interface
    interface IJsonRpcAsyncMessageFormatter
    interface IJsonRpcMessageFormatter
    interface IJsonRpcMessageTextFormatter
Public Interface IJsonRpcAsyncMessageTextFormatter
Implements IJsonRpcAsyncMessageFormatter, IJsonRpcMessageTextFormatter
Derived
Implements

Properties

Encoding

Gets or sets the encoding used for serialization for methods that do not take an explicit Encoding.

(Inherited from IJsonRpcMessageTextFormatter)

Methods

Deserialize(ReadOnlySequence<Byte>, Encoding)

Deserializes a sequence of bytes to a JsonRpcMessage.

(Inherited from IJsonRpcMessageTextFormatter)
Deserialize(ReadOnlySequence<Byte>)

Deserializes a JsonRpcMessage.

(Inherited from IJsonRpcMessageFormatter)
DeserializeAsync(PipeReader, CancellationToken)

Deserializes a JsonRpcMessage.

(Inherited from IJsonRpcAsyncMessageFormatter)
DeserializeAsync(PipeReader, Encoding, CancellationToken)

Deserializes a sequence of bytes to a JsonRpcMessage.

GetJsonText(JsonRpcMessage)
Obsolete.

Gets a JSON representation for a given message for tracing purposes.

(Inherited from IJsonRpcMessageFormatter)
Serialize(IBufferWriter<Byte>, JsonRpcMessage)

Serializes a JsonRpcMessage.

(Inherited from IJsonRpcMessageFormatter)

Applies to