WebSocketMessageWriter Class |
[This is preliminary documentation and is subject to change.]
Namespace: JsonRpc.WebSockets
The WebSocketMessageWriter type exposes the following members.
| Name | Description | |
|---|---|---|
| WebSocketMessageWriter(WebSocket) |
Initializes a message reader from WebSocket.
| |
| WebSocketMessageWriter(WebSocket, Int32) |
Initializes a message reader from WebSocket.
|
| Name | Description | |
|---|---|---|
| DisposalToken | (Inherited from MessageWriter.) | |
| WebSocket |
Gets the underlying WebSocket.
|
| Name | Description | |
|---|---|---|
| DeserializeMessage |
Writes a JSON-RPC message to the specified stream.
| |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from MessageWriter.) | |
| Dispose(Boolean) | (Inherited from MessageWriter.) | |
| 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).) |