Delen via


HttpContextFeaturesExtensions Class

Definition

Extension methods for fetching proxy configuration from the current HttpContext.

public static class HttpContextFeaturesExtensions
type HttpContextFeaturesExtensions = class
Public Module HttpContextFeaturesExtensions
Inheritance
HttpContextFeaturesExtensions

Methods

GetForwarderErrorFeature(HttpContext)

Retrieves the IForwarderErrorFeature instance associated with the current request, if any.

GetReverseProxyFeature(HttpContext)

Retrieves the IReverseProxyFeature instance associated with the current request.

GetRouteModel(HttpContext)

Retrieves the RouteModel instance associated with the current request.

ReassignProxyRequest(HttpContext, ClusterState)

Replaces the assigned cluster and destinations in IReverseProxyFeature with the new ClusterState, causing the request to be sent to the new cluster instead.

ReassignProxyRequest(HttpContext, RouteModel, ClusterState)

Replaces the assigned route, cluster, and destinations in IReverseProxyFeature with the new RouteModel and new ClusterState, causing the request to be sent using the new route to the new cluster.

Applies to