메소드 | 설명 | |
---|---|---|
CreateProxy ( HttpSocket clientSocket ) : |
||
RewritingProxy ( HttpSocket clientSocket ) : System |
메소드 | 설명 | |
---|---|---|
OnReceiveResponse ( ) : void |
메소드 | 설명 | |
---|---|---|
GetFileEncoding ( byte content ) : |
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[] |
public static CreateProxy ( HttpSocket clientSocket ) : |
||
clientSocket | HttpSocket | |
리턴 |
public RewritingProxy ( HttpSocket clientSocket ) : System | ||
clientSocket | HttpSocket | |
리턴 | System |