transparent local HTTP proxy written by C# .Net Framework 3.5
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Warproxy
WarproxyTest
LICENSE
README.md
Warproxy.sln

README.md

Warproxy 2.0.0 BETA

SUPPORT

  • Support TCP only.
  • Support IPv4 & IPv6.
  • Support keep-alive connection (HTTP 1.1).
  • Support other proxy.
  • Available after 01.15.15

LICENSE

  • MIT LICENSE
  • EXEMPTION CLAUSE
  • All caused by the usage of WARP is the responsibility of the user.
  • Code contributors WARP is not responsible for the use.

CLASS

WarpEngine (IDisposable)

  • Constructor

  • new WarpEngine()

  • new WarpEngine(Port)

  • Function

  • void Dispose()

  • void Start()

  • void Stop()

  • void SetWarp(WebRequest)

  • Property

  • int ConnectionCount (ReadOnly)

  • int MaxQueuedConnections

  • int BufferSize

  • int Port

  • int TimeOut

WarpExtensions (static)

  • Function

  • void SetWarp(this WebRequest, WarpEngine)

  • void SetWarp(this WebRequest, WarpEngine, IWebProxy)

  • Usage

  • (WebRequest).SetWarp(engine)

  • (WebRequest).SetWarp(engine, IWebProxy)

  • Example

WebRequest req1 = WebRequest.Create("http://www.google.com/");
WebRequest req2 = WebRequest.Create("http://www.google.com/");

engine.SetProxy(HttpWebRequest.DefaultWebProxy);

// req1 use DefaultWebProxy
req1.SetWarp(engine);

// req2 use NewWebProxy. not DefaultWebProxy
req2.SetWarp(engine, NewWebProxy);