Struct DestinationProbingResult
Result of a destination's active health probing.
Namespace: Yarp.ReverseProxy.Health
Assembly: Yarp.ReverseProxy.dll
Syntax
public readonly struct DestinationProbingResult
Constructors
| Improve this Doc View SourceDestinationProbingResult(DestinationState, Nullable<HttpResponseMessage>, Nullable<Exception>)
Declaration
public DestinationProbingResult(DestinationState destination, HttpResponseMessage? response, Exception? exception)
Parameters
Type | Name | Description |
---|---|---|
DestinationState | destination | |
System.Nullable<HttpResponseMessage> | response | |
System.Nullable<Exception> | exception |
Properties
| Improve this Doc View SourceDestination
Probed destination.
Declaration
public readonly DestinationState Destination { get; }
Property Value
Type | Description |
---|---|
DestinationState |
Exception
Exception thrown during probing. It is null in case of a success.
Declaration
public readonly Exception? Exception { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Exception> |
Response
Response recieved. It can be null in case of a failure.
Declaration
public readonly HttpResponseMessage? Response { get; }
Property Value
Type | Description |
---|---|
System.Nullable<HttpResponseMessage> |