IForwarderTelemetryConsumer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A consumer of Yarp.ReverseProxy EventSource events.
public interface IForwarderTelemetryConsumer
type IForwarderTelemetryConsumer = interface
Public Interface IForwarderTelemetryConsumer
Methods
| OnContentTransferred(DateTime, Boolean, Int64, Int64, TimeSpan, TimeSpan, TimeSpan) |
Called after transferring the request or response content. |
| OnContentTransferring(DateTime, Boolean, Int64, Int64, TimeSpan, TimeSpan) |
Called periodically while a content transfer is active. |
| OnForwarderFailed(DateTime, ForwarderError) |
Called before OnForwarderStop(DateTime, Int32) if forwarding the request failed. |
| OnForwarderInvoke(DateTime, String, String, String) |
Called before forwarding a request. |
| OnForwarderStage(DateTime, ForwarderStage) |
Called when reaching a given stage of forwarding a request. |
| OnForwarderStart(DateTime, String) |
Called before forwarding a request. |
| OnForwarderStop(DateTime, Int32) |
Called after forwarding a request. |