コード例 #1
0
 public Tunnel(Mode protocolMode, ProxyServer.Mode httpMode, ProxyServer.Mode httpsMode, ref Socket client)
 {
     Protocol    = protocolMode;
     http        = httpMode;
     https       = httpsMode;
     this.client = client;
 }
コード例 #2
0
ファイル: Tunnel.cs プロジェクト: Neths/C-Sharp-Proxy-Server
 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;
 }