Exemple #1
0
 public MockHttpServerScript(int port, string prefix, params MockHttpServerHandler[] handlers)
 {
     Server = new MockHttpServer(Handler, port, prefix);
     script = new Queue <MockHttpServerHandler>(handlers);
 }
Exemple #2
0
 public MockHttpServerScript(params MockHttpServerHandler[] handlers)
 {
     Server = new MockHttpServer(Handler);
     script = new Queue <MockHttpServerHandler>(handlers);
 }