Click or drag to resize

ByLineTextMessageWriter Class

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

Represents a message writer that writes the message line-by-line to TextWriter.
Inheritance Hierarchy

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

The ByLineTextMessageWriter type exposes the following members.

Constructors
  NameDescription
Public methodByLineTextMessageWriter(Stream)
Initialize a line-by-line message writer to Stream.
Public methodByLineTextMessageWriter(TextWriter)
Initialize a line-by-line message writer to TextWriter.
Public methodByLineTextMessageWriter(Stream, String)
Initialize a message writer to Stream.
Public methodByLineTextMessageWriter(TextWriter, String)
Initialize a message writer to TextWriter.
Top
Properties
  NameDescription
Public propertyDelimiter
The indicator for the end of a message.
Protected propertyDisposalToken (Inherited from MessageWriter.)
Public propertyLeaveWriterOpen
Whether to leave Writer or Stream (if this instance is initialized with a Stream) open when disposing this instance.
Public propertyWriter
The underlying text writer.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from MessageWriter.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the ByLineTextMessageWriter and optionally releases the managed resources
(Overrides MessageWriterDispose(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteAsync
Asynchronously writes a message.
(Overrides MessageWriterWriteAsync(Message, CancellationToken).)
Top
See Also