public Tunnel(Mode protocolMode, ProxyServer.Mode httpMode, ProxyServer.Mode httpsMode, ref Socket client)
 {
     Protocol    = protocolMode;
     http        = httpMode;
     https       = httpsMode;
     this.client = client;
 }
Example #2
0
 public Tunnel(Mode protMode, ProxyServer.Mode httpMode, ProxyServer.Mode httpsMode, Form1 context, Socket httpClient, VConsole con)
 {
     Protocol = protMode;
     http     = httpMode;
     https    = httpsMode;
     ctx      = context;
     console  = con;
     client   = httpClient;
 }