IProbingRequestFactory.CreateRequest(ClusterModel, DestinationModel) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a probing request.
public System.Net.Http.HttpRequestMessage CreateRequest(Yarp.ReverseProxy.Model.ClusterModel cluster, Yarp.ReverseProxy.Model.DestinationModel destination);
abstract member CreateRequest : Yarp.ReverseProxy.Model.ClusterModel * Yarp.ReverseProxy.Model.DestinationModel -> System.Net.Http.HttpRequestMessage
Public Function CreateRequest (cluster As ClusterModel, destination As DestinationModel) As HttpRequestMessage
Parameters
- cluster
- ClusterModel
The cluster being probed.
- destination
- DestinationModel
The destination being probed.
Returns
Probing HttpRequestMessage.