IJsonRpcAsyncMessageTextFormatter Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |