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
DestinationStateresponse
HttpResponseMessageexception
Exception
Properties
Destination
Probed destination.
public DestinationState Destination { get; }
Property Value
Exception
Exception thrown during probing. It is null in case of a success.
public Exception? Exception { get; }
Property Value
Response
Response recieved. It can be null in case of a failure.
public HttpResponseMessage? Response { get; }