Class JsonRpcResponseEventArgs
- Namespace
- StreamJsonRpc.Reflection
- Assembly
- StreamJsonRpc.dll
Carries the RequestId and success status of response messages.
public class JsonRpcResponseEventArgs : JsonRpcMessageEventArgs
- Inheritance
-
JsonRpcResponseEventArgs
- Inherited Members
Constructors
JsonRpcResponseEventArgs(RequestId, bool)
Initializes a new instance of the JsonRpcResponseEventArgs class.
public JsonRpcResponseEventArgs(RequestId requestId, bool isSuccessfulResponse)
Parameters
requestId
RequestIdThe ID from the request or response that the event is regarding.
isSuccessfulResponse
boolA flag indicating whether the response is a result (as opposed to an error).
Properties
IsSuccessfulResponse
Gets a value indicating whether the response is a result (as opposed to an error).
public bool IsSuccessfulResponse { get; }