C# Класс CorsProxy.AspNet.CorsProxyHttpHandler

Proxies Ajax requests over your front end web server.

Will copy most headers from the Ajax request to the request that is sent to the proxied server. You can therefore use cookies, custom headers etc.

Uses the HTTP header X-CorsProxy-Url to identify which server to send the proxy request to.

Adds the X-CorsProxy-Failure header to indicate whether non 2xx responses is due to this library or the destination web server.

Наследование: IHttpHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
ProcessRequest ( HttpContext context ) : void

Enables processing of HTTP Web requests by a custom HttpHandler that implements the T:System.Web.IHttpHandler interface.

Описание методов

ProcessRequest() публичный Метод

Enables processing of HTTP Web requests by a custom HttpHandler that implements the T:System.Web.IHttpHandler interface.
public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext /// An object that provides references to the intrinsic /// server objects (for example, Request, Response, Session, and Server) used to service HTTP requests. ///
Результат void