C# 클래스 Advtools.AdvInterceptor.Interceptor

파일 보기 프로젝트 열기: ADVTOOLS/ADVinterceptor 1 사용 예제들

공개 메소드들

메소드 설명
Interceptor ( State state ) : System
OnBeginRequest ( IHttpContext context ) : void

비공개 메소드들

메소드 설명
BuildRequestResponse ( IRequest originalRequest, IPEndPoint remote, IResponse originalResponse, int messageNumber ) : void
ConstructUrl ( IRequest originalRequest, IPEndPoint remote ) : Uri
GetAllBytes ( Stream input ) : byte[]
GetClientHost ( IRequest request ) : string
GetRemoteHost ( IRequest request ) : string
GetResponseData ( HttpWebResponse response ) : MemoryStream
IsNotSettableHeader ( string headerName ) : bool
IsTextContentType ( string contentType ) : bool
PrepareProxy ( HttpWebRequest request ) : void
PrepareRequest ( IRequest originalRequest, IPEndPoint remote, int messageNumber ) : HttpWebRequest
PrepareRequestContent ( HttpWebRequest request, IRequest originalRequest, int messageNumber ) : void
PrepareRequestCookies ( HttpWebRequest request, IRequest originalRequest ) : void
PrepareRequestHeaders ( HttpWebRequest request, IRequest originalRequest ) : void
ProcessRequestValue ( string value ) : string
ProcessResponse ( Stream stream ) : string
ProcessResponseValue ( string value ) : string
ReadWriteStreams ( Stream input, Stream output ) : void
ReadWriteStreams ( Stream input, Stream output, bool resetInputPosition ) : void
WriteResponse ( IRequest originalRequest, IResponse originalResponse, HttpWebResponse response, int messageNumber ) : void
WriteResponseContent ( IResponse originalResponse, HttpWebResponse response, int messageNumber ) : void
WriteResponseCookies ( IRequest originalRequest, IResponse originalResponse, HttpWebResponse response ) : void
WriteResponseHeaders ( IResponse originalResponse, HttpWebResponse response ) : void

메소드 상세

Interceptor() 공개 메소드

public Interceptor ( State state ) : System
state State
리턴 System

OnBeginRequest() 공개 메소드

public OnBeginRequest ( IHttpContext context ) : void
context IHttpContext
리턴 void