C# Class TrotiNet.Example.RewritingProxy

Inheritance: ProxyLogic
Afficher le fichier Open project: Gizeta/Nekoxy-fiddler Class Usage Examples

Méthodes publiques

Méthode Description
CreateProxy ( HttpSocket clientSocket ) : RewritingProxy
RewritingProxy ( HttpSocket clientSocket ) : System

Méthodes protégées

Méthode Description
OnReceiveResponse ( ) : void

Private Methods

Méthode Description
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[]

Method Details

CreateProxy() public static méthode

public static CreateProxy ( HttpSocket clientSocket ) : RewritingProxy
clientSocket HttpSocket
Résultat RewritingProxy

OnReceiveResponse() protected méthode

protected OnReceiveResponse ( ) : void
Résultat void

RewritingProxy() public méthode

public RewritingProxy ( HttpSocket clientSocket ) : System
clientSocket HttpSocket
Résultat System