Table of Contents

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 ClusterModel

The cluster being probed.

destination DestinationModel

The destination being probed.

Returns

HttpRequestMessage

Probing HttpRequestMessage.