예제 #1
0
 public static void Run(Options options, ServeOptions sharedOptions)
 {
     using (var runner = new ProxyRunner(options, sharedOptions))
     {
         runner.Run(sharedOptions.Port);
     }
 }
예제 #2
0
 private ProxyRunner(Options options, ServeOptions sharedOptions)
     : base(options)
 {
     this.sharedOptions = sharedOptions;
 }
예제 #3
0
 private static void RunProxy(Options options, ServeOptions verbOptions)
 {
     ProxyRunner.Run(options, verbOptions);
 }