Interface IProbingRequestFactory
- Namespace
- Yarp.ReverseProxy.Health
- Assembly
- Yarp.ReverseProxy.dll
A factory for creating HttpRequestMessages for active health probes to be sent to destinations.
public interface IProbingRequestFactory
Methods
CreateRequest(ClusterModel, DestinationModel)
Creates a probing request.
HttpRequestMessage CreateRequest(ClusterModel cluster, DestinationModel destination)
Parameters
cluster
ClusterModelThe cluster being probed.
destination
DestinationModelThe destination being probed.
Returns
- HttpRequestMessage
Probing HttpRequestMessage.