Method | Description | |
---|---|---|
Allow ( |
Allow this host Used to only allow all specified hosts (calls to this method can be chained). |
|
CorsProxyRoute ( string url ) : System |
Initializes a new instance of the T:System.Web.Routing.Route class, by using the specified URL pattern and handler class.
|
|
GetRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData | ||
GetVirtualPath ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : System.Web.Routing.VirtualPathData |
Returns information about the URL that is associated with the route.
|
Method | Description | |
---|---|---|
SameHostAndPort ( |
public Allow ( |
||
targetUri | Uri which proxying is allowed to. Typically your back-end URI. | |
return | void |
public CorsProxyRoute ( string url ) : System | ||
url | string | The URL pattern for the route. |
return | System |
public GetRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData | ||
httpContext | System.Web.HttpContextBase | |
return | System.Web.Routing.RouteData |
public GetVirtualPath ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : System.Web.Routing.VirtualPathData | ||
requestContext | System.Web.Routing.RequestContext | An object that encapsulates information about the requested route. |
values | RouteValueDictionary | An object that contains the parameters for a route. |
return | System.Web.Routing.VirtualPathData |