Class JsonRpcBatch<T>
A batch of JSON-RPC messages that can be transmitted or received at once.
Inheritance
System.Collections.ObjectModel.Collection<T>
JsonRpcBatch<T>
Namespace: XploRe.Net.JsonRpc
Assembly: XploRe.Net.JsonRpc.dll
Syntax
public class JsonRpcBatch<T> : Collection<T> where T : IJsonRpcMessage
Type Parameters
| Name | Description |
|---|---|
| T | The type of the JSON-RPC messages in this batch. |
Constructors
| Name | Description |
|---|---|
| JsonRpcBatch() | Initialises an empty JSON-RPC messages batch. |
| JsonRpcBatch(IList<T>) | Initialises a new JSON-RPC batch with a given list of messages. |
Methods
| Name | Description |
|---|---|
| InsertItem(Int32, T) | |
| SetItem(Int32, T) |