Method | Description | |
---|---|---|
CreateProxy ( HttpSocket clientSocket ) : |
||
RewritingProxy ( HttpSocket clientSocket ) : System |
Method | Description | |
---|---|---|
OnReceiveResponse ( ) : void |
Method | Description | |
---|---|---|
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 | |
return |
public RewritingProxy ( HttpSocket clientSocket ) : System | ||
clientSocket | HttpSocket | |
return | System |