PipeMessageHandler Constructors

Definition

Overloads

PipeMessageHandler(IDuplexPipe, IJsonRpcMessageFormatter)

Initializes a new instance of the PipeMessageHandler class.

PipeMessageHandler(PipeWriter, PipeReader, IJsonRpcMessageFormatter)

Initializes a new instance of the PipeMessageHandler class.

PipeMessageHandler(Stream, Stream, IJsonRpcMessageFormatter)

Initializes a new instance of the PipeMessageHandler class.

PipeMessageHandler(IDuplexPipe, IJsonRpcMessageFormatter)

Initializes a new instance of the PipeMessageHandler class.

public PipeMessageHandler (System.IO.Pipelines.IDuplexPipe pipe, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.PipeMessageHandler : System.IO.Pipelines.IDuplexPipe * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.PipeMessageHandler
Public Sub New (pipe As IDuplexPipe, formatter As IJsonRpcMessageFormatter)

Parameters

pipe
IDuplexPipe

The reader and writer to use for receiving/transmitting messages.

formatter
IJsonRpcMessageFormatter

The formatter used to serialize messages.

Applies to

PipeMessageHandler(PipeWriter, PipeReader, IJsonRpcMessageFormatter)

Initializes a new instance of the PipeMessageHandler class.

public PipeMessageHandler (System.IO.Pipelines.PipeWriter writer, System.IO.Pipelines.PipeReader reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
public PipeMessageHandler (System.IO.Pipelines.PipeWriter? writer, System.IO.Pipelines.PipeReader? reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.PipeMessageHandler : System.IO.Pipelines.PipeWriter * System.IO.Pipelines.PipeReader * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.PipeMessageHandler
Public Sub New (writer As PipeWriter, reader As PipeReader, formatter As IJsonRpcMessageFormatter)

Parameters

writer
PipeWriter

The writer to use for transmitting messages.

reader
PipeReader

The reader to use for receiving messages.

formatter
IJsonRpcMessageFormatter

The formatter used to serialize messages.

Applies to

PipeMessageHandler(Stream, Stream, IJsonRpcMessageFormatter)

Initializes a new instance of the PipeMessageHandler class.

public PipeMessageHandler (System.IO.Stream writer, System.IO.Stream reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
public PipeMessageHandler (System.IO.Stream? writer, System.IO.Stream? reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.PipeMessageHandler : System.IO.Stream * System.IO.Stream * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.PipeMessageHandler
Public Sub New (writer As Stream, reader As Stream, formatter As IJsonRpcMessageFormatter)

Parameters

writer
Stream

The stream to use for transmitting messages.

reader
Stream

The stream to use for receiving messages.

formatter
IJsonRpcMessageFormatter

The formatter used to serialize messages.

Applies to