Table of Contents

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 RequestId

The ID from the request or response that the event is regarding.

isSuccessfulResponse bool

A 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; }

Property Value

bool