Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IJsonRpcClientRequest.cs
1using System;
2using System.Threading.Tasks;
3
5{
9 public interface IJsonRpcClientRequest : IDisposable
10 {
14 string Message { get; }
15
19 object? Id { get; }
20
25 object? Tag { get; set; }
26
31 Task ReportResult(object? Result);
32
38 Task ReportError(int? ErrorCode, string ErrorMessage);
39
43 Task Cancel();
44 }
45}
Interface for JSON-RPC client request objects.
Task ReportError(int? ErrorCode, string ErrorMessage)
Called when an error is received for the request.
Task ReportResult(object? Result)
Called when a result is received for the request.
Task Cancel()
Called when the input dialog has been cancelled.
object? Tag
Property that can be used to store user-defined data associated with the request.