C# 클래스 TrotiNet.Example.RewritingProxy

상속: ProxyLogic
파일 보기 프로젝트 열기: Gizeta/Nekoxy-fiddler 1 사용 예제들

공개 메소드들

메소드 설명
CreateProxy ( HttpSocket clientSocket ) : RewritingProxy
RewritingProxy ( HttpSocket clientSocket ) : System

보호된 메소드들

메소드 설명
OnReceiveResponse ( ) : void

비공개 메소드들

메소드 설명
GetFileEncoding ( byte content ) : Encoding

Guess the file encoding, judging from the response content type

ModifyHTML ( string input ) : string

This is the core of the rewriting process. At this point, you have the entire HTML body. Change the content to your heart's content!

ReadEverything ( Stream input ) : byte[]

메소드 상세

CreateProxy() 공개 정적인 메소드

public static CreateProxy ( HttpSocket clientSocket ) : RewritingProxy
clientSocket HttpSocket
리턴 RewritingProxy

OnReceiveResponse() 보호된 메소드

protected OnReceiveResponse ( ) : void
리턴 void

RewritingProxy() 공개 메소드

public RewritingProxy ( HttpSocket clientSocket ) : System
clientSocket HttpSocket
리턴 System