Click or drag to resize

PartwiseStreamMessageReader Class

[This is preliminary documentation and is subject to change.]

Reads JSON RPC messages from a Stream, in the format specified in Microsoft Language Server Protocol (https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md).
Inheritance Hierarchy

Namespace:  JsonRpc.Streams
Assembly:  JsonRpc.Streams (in JsonRpc.Streams.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public class PartwiseStreamMessageReader : QueuedMessageReader

The PartwiseStreamMessageReader type exposes the following members.

Constructors
  NameDescription
Public methodPartwiseStreamMessageReader
Initializes a message reader from Stream.
Top
Properties
  NameDescription
Protected propertyDisposalToken
A CancellationToken that is cancelled when the current object has been disposed.
(Inherited from MessageReader.)
Public propertyEncoding
Default encoding of the received messages.
Public propertyLeaveStreamOpen
Whether to leave Stream open when disposing this instance.
Public propertyStream
The underlying stream to read messages from.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from MessageReader.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the PartwiseStreamMessageReader and optionally releases the managed resources
(Overrides QueuedMessageReaderDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadAsync
Asynchronously reads the next message that matches the
(Inherited from QueuedMessageReader.)
Protected methodReadDirectAsync
Directly reads a message out of the Stream.
(Overrides QueuedMessageReaderReadDirectAsync(CancellationToken).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also