Table of Contents

Struct DestinationProbingResult

Namespace
Yarp.ReverseProxy.Health
Assembly
Yarp.ReverseProxy.dll

Result of a destination's active health probing.

public readonly struct DestinationProbingResult
Inherited Members

Constructors

DestinationProbingResult(DestinationState, HttpResponseMessage?, Exception?)

public DestinationProbingResult(DestinationState destination, HttpResponseMessage? response, Exception? exception)

Parameters

destination DestinationState
response HttpResponseMessage
exception Exception

Properties

Destination

Probed destination.

public DestinationState Destination { get; }

Property Value

DestinationState

Exception

Exception thrown during probing. It is null in case of a success.

public Exception? Exception { get; }

Property Value

Exception

Response

Response recieved. It can be null in case of a failure.

public HttpResponseMessage? Response { get; }

Property Value

HttpResponseMessage