Ejemplo n.º 1
0
 public void Init()
 {
     server = new TestWebServer();
     server.AddWebService(new HttpHeaderSpecialAction());
     test = new TestTask(server)
     {
         CurrentStage     = ServerStage.ParseRequest,
         TerminationStage = ServerStage.ParseRequest,
     };
 }
Ejemplo n.º 2
0
 public void Init()
 {
     server = new TestWebServer();
     server.AddWebService(new HttpSender());
     test = new TestTask(server)
     {
         CurrentStage     = ServerStage.SendResponse,
         TerminationStage = ServerStage.SendResponse,
     };
 }
 public void Init()
 {
     server = new TestWebServer();
     server.AddWebService(new HttpRequestParser());
     test = new TestTask(server)
     {
         CurrentStage     = ServerStage.ReadRequest,
         TerminationStage = ServerStage.ReadRequest,
     };
 }