![]() | PartwiseStreamMessageWriter Class |
[This is preliminary documentation and is subject to change.]
Namespace: JsonRpc.Streams
The PartwiseStreamMessageWriter type exposes the following members.
Name | Description | |
---|---|---|
![]() | PartwiseStreamMessageWriter |
Initializes a message writer from Stream.
|
Name | Description | |
---|---|---|
![]() | ContentType |
Content-Type header value of the emitted messages.
|
![]() | DisposalToken | (Inherited from MessageWriter.) |
![]() | EmitContentCharset |
Whether to follow the ContentType with a "charset=xxx" part
when writing messages to the stream. This property has no effect if ContentType
is null.
|
![]() | Encoding |
Encoding of the emitted messages.
|
![]() | LeaveStreamOpen |
Whether to leave Stream open when disposing this instance.
|
![]() | Stream |
The underlying stream to write messages into.
|
Name | Description | |
---|---|---|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from MessageWriter.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the PartwiseStreamMessageWriter and optionally releases the managed resources (Overrides MessageWriterDispose(Boolean).) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WriteAsync |
Asynchronously writes a message.
(Overrides MessageWriterWriteAsync(Message, CancellationToken).) |