Share via


StreamMessageHandler(Stream, Stream, IJsonRpcMessageFormatter) Constructor

Definition

Initializes a new instance of the StreamMessageHandler class.

protected StreamMessageHandler (System.IO.Stream sendingStream, System.IO.Stream receivingStream, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
protected StreamMessageHandler (System.IO.Stream? sendingStream, System.IO.Stream? receivingStream, StreamJsonRpc.IJsonRpcMessageFormatter formatter);
new StreamJsonRpc.StreamMessageHandler : System.IO.Stream * System.IO.Stream * StreamJsonRpc.IJsonRpcMessageFormatter -> StreamJsonRpc.StreamMessageHandler
Protected Sub New (sendingStream As Stream, receivingStream As Stream, formatter As IJsonRpcMessageFormatter)

Parameters

sendingStream
Stream

The stream used to transmit messages. May be null.

receivingStream
Stream

The stream used to receive messages. May be null.

formatter
IJsonRpcMessageFormatter

The formatter to use to serialize JsonRpcMessage instances.

Applies to