IntelligenceX
Class

RpcCallStartedEventArgs

Namespace IntelligenceX.Telemetry
Assembly IntelligenceX
Base EventArgs
Modifiers sealed

Event arguments raised when a JSON-RPC call starts.

Inheritance

  • EventArgs
  • RpcCallStartedEventArgs

Constructors

public RpcCallStartedEventArgs(String method, JsonValue parameters, Nullable<Int64> requestId = null) #

Initializes a new call-start event args instance.

Parameters

method System.String
The RPC method name.
parameters IntelligenceX.Json.JsonValue
The RPC parameters.
requestId System.Nullable{System.Int64} = null
The JSON-RPC request id, if available.

Properties

public String Method { get; } #

Gets the RPC method name.

public JsonValue Parameters { get; } #

Gets the RPC parameters payload.

public Nullable<Int64> RequestId { get; } #

Gets the JSON-RPC request id, when available.

public DateTimeOffset Timestamp { get; } #

Gets the UTC timestamp when the call started.