作者 karlet

feat:httpserver支持stop

@@ -55,4 +55,8 @@ class SimpleServerCoroutine @@ -55,4 +55,8 @@ class SimpleServerCoroutine
55 { 55 {
56 $this->httpServer->start(); 56 $this->httpServer->start();
57 } 57 }
  58 + public function stop()
  59 + {
  60 + $this->httpServer->shutdown();
  61 + }
58 } 62 }