Share via


HeaderDelimitedMessageHandler Constructors

Definition

Overloads

HeaderDelimitedMessageHandler(Stream)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

HeaderDelimitedMessageHandler(IDuplexPipe, IJsonRpcMessageFormatter)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

HeaderDelimitedMessageHandler(Stream, IJsonRpcMessageFormatter)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

HeaderDelimitedMessageHandler(Stream, Stream)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

HeaderDelimitedMessageHandler(PipeWriter, PipeReader, IJsonRpcMessageFormatter)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

HeaderDelimitedMessageHandler(Stream, Stream, IJsonRpcMessageFormatter)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

HeaderDelimitedMessageHandler(Stream)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

public HeaderDelimitedMessageHandler (System.IO.Stream duplexStream);
new StreamJsonRpc.HeaderDelimitedMessageHandler : System.IO.Stream -> StreamJsonRpc.HeaderDelimitedMessageHandler
Public Sub New (duplexStream As Stream)

Parameters

duplexStream
Stream

The stream to use for transmitting and receiving messages.

Applies to

HeaderDelimitedMessageHandler(IDuplexPipe, IJsonRpcMessageFormatter)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

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

Parameters

pipe
IDuplexPipe

The duplex pipe to use for exchanging messages.

formatter
IJsonRpcMessageFormatter

The formatter to use to serialize JsonRpcMessage instances.

Applies to

HeaderDelimitedMessageHandler(Stream, IJsonRpcMessageFormatter)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

public HeaderDelimitedMessageHandler (System.IO.Stream duplexStream, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.HeaderDelimitedMessageHandler : System.IO.Stream * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.HeaderDelimitedMessageHandler
Public Sub New (duplexStream As Stream, formatter As IJsonRpcMessageFormatter)

Parameters

duplexStream
Stream

The stream to use for exchanging messages.

formatter
IJsonRpcMessageFormatter

The formatter to use to serialize JsonRpcMessage instances.

Applies to

HeaderDelimitedMessageHandler(Stream, Stream)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

public HeaderDelimitedMessageHandler (System.IO.Stream sendingStream, System.IO.Stream receivingStream);
public HeaderDelimitedMessageHandler (System.IO.Stream? sendingStream, System.IO.Stream? receivingStream);
new StreamJsonRpc.HeaderDelimitedMessageHandler : System.IO.Stream * System.IO.Stream -> StreamJsonRpc.HeaderDelimitedMessageHandler
Public Sub New (sendingStream As Stream, receivingStream As Stream)

Parameters

sendingStream
Stream

The stream to use for transmitting messages.

receivingStream
Stream

The stream to use for receiving messages.

Applies to

HeaderDelimitedMessageHandler(PipeWriter, PipeReader, IJsonRpcMessageFormatter)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

public HeaderDelimitedMessageHandler (System.IO.Pipelines.PipeWriter writer, System.IO.Pipelines.PipeReader reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
public HeaderDelimitedMessageHandler (System.IO.Pipelines.PipeWriter? writer, System.IO.Pipelines.PipeReader? reader, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.HeaderDelimitedMessageHandler : System.IO.Pipelines.PipeWriter * System.IO.Pipelines.PipeReader * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.HeaderDelimitedMessageHandler
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 to use to serialize JsonRpcMessage instances.

Applies to

HeaderDelimitedMessageHandler(Stream, Stream, IJsonRpcMessageFormatter)

Initializes a new instance of the HeaderDelimitedMessageHandler class.

public HeaderDelimitedMessageHandler (System.IO.Stream sendingStream, System.IO.Stream receivingStream, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
public HeaderDelimitedMessageHandler (System.IO.Stream? sendingStream, System.IO.Stream? receivingStream, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.HeaderDelimitedMessageHandler : System.IO.Stream * System.IO.Stream * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.HeaderDelimitedMessageHandler
Public Sub New (sendingStream As Stream, receivingStream As Stream, formatter As IJsonRpcMessageFormatter)

Parameters

sendingStream
Stream

The stream to use for transmitting messages.

receivingStream
Stream

The stream to use for receiving messages.

formatter
IJsonRpcMessageFormatter

The formatter to use to serialize JsonRpcMessage instances.

Applies to