Table of Contents

Interface IJsonRpcFormatterCallbacks

Namespace
StreamJsonRpc.Reflection
Assembly
StreamJsonRpc.dll

Implemented by JsonRpc to expose callbacks allowing an IJsonRpcMessageFormatter to perform resource cleanup.

public interface IJsonRpcFormatterCallbacks

Events

RequestTransmissionAborted

Occurs when JsonRpc aborts the transmission of an outbound request (that was not a notification).

event EventHandler<JsonRpcMessageEventArgs> RequestTransmissionAborted

Event Type

EventHandler<JsonRpcMessageEventArgs>

Remarks

This usually occurs because of an exception during serialization or transmission, possibly due to cancellation.

ResponseReceived

Occurs when JsonRpc receives a response to a previously sent request.

event EventHandler<JsonRpcResponseEventArgs> ResponseReceived

Event Type

EventHandler<JsonRpcResponseEventArgs>

ResponseSent

Occurs when JsonRpc transmits a response message.

event EventHandler<JsonRpcResponseEventArgs> ResponseSent

Event Type

EventHandler<JsonRpcResponseEventArgs>