This commit is contained in:
2020-09-01 15:31:22 +08:00
parent 3a12ad4db2
commit 72a6656647
3 changed files with 4 additions and 4 deletions
+1
View File
@@ -37,6 +37,7 @@ class Http extends Server
*/
public function __construct($application, $host, $port = null, $mode = null, $sock_type = null)
{
$application->set($host . ':' . $port, $this);
$this->application = $application;
parent::__construct($host, $port, $mode, $sock_type);
}