Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IForwarderTelemetryConsumer Interface

Definition

Namespace:
Yarp.Telemetry.Consumption
Assembly:
Yarp.Telemetry.Consumption.dll
Package:
Yarp.Telemetry.Consumption v1.0.1
Package:
Yarp.Telemetry.Consumption v1.1.2
Package:
Yarp.Telemetry.Consumption v2.0.1
Package:
Yarp.Telemetry.Consumption v2.1.0
Package:
Yarp.Telemetry.Consumption v2.2.0
Source:
IForwarderTelemetryConsumer.cs
Source:
IForwarderTelemetryConsumer.cs

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

Name Description
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.

Applies to


Feedback

Was this page helpful?