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
파일 보기 프로젝트 열기: jgauffin/CorsProxy

공개 메소드들

메소드 설명
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