StreamMessageHandler(Stream, Stream, IJsonRpcMessageFormatter) Constructor
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.
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.