C# Class TrotiNet.ProxyDummyEcho

Dummy proxy that simply echoes back what it gets from the browser
Inheritance: AbstractProxyLogic
Show file Open project: Gizeta/Nekoxy-fiddler

Public Methods

Method Description
CreateEchoProxy ( HttpSocket socketBP ) : AbstractProxyLogic

Static constructor with PrintEchoPrefix = true

CreateMirrorProxy ( HttpSocket socketBP ) : AbstractProxyLogic

Static constructor with PrintEchoPrefix = false

LogicLoop ( ) : bool

Dummy logic loop, for test purposes

ProxyDummyEcho ( HttpSocket socketBP, bool PrintEchoPrefix )

Instantiate a dummy proxy that echoes what it reads on the socket back to it

Method Details

CreateEchoProxy() public static method

Static constructor with PrintEchoPrefix = true
public static CreateEchoProxy ( HttpSocket socketBP ) : AbstractProxyLogic
socketBP HttpSocket
return AbstractProxyLogic

CreateMirrorProxy() public static method

Static constructor with PrintEchoPrefix = false
public static CreateMirrorProxy ( HttpSocket socketBP ) : AbstractProxyLogic
socketBP HttpSocket
return AbstractProxyLogic

LogicLoop() public method

Dummy logic loop, for test purposes
public LogicLoop ( ) : bool
return bool

ProxyDummyEcho() public method

Instantiate a dummy proxy that echoes what it reads on the socket back to it
public ProxyDummyEcho ( HttpSocket socketBP, bool PrintEchoPrefix )
socketBP HttpSocket Client socket
PrintEchoPrefix bool If true, the proxy will add an /// "Echo" prefix for each message