src/Leevel/Protocol/Provider/Register.php
protected function httpServer(): void
    {
        $this->container->singleton('http.server', function (IContainer $container) {
            return new HttpServer(
                $container,
                array_merge(
                    $container['option']['protocol\\server'],
                    $container['option']['protocol\\http']
                )
            );
        });
    }
protected function httpServer(): void
    {
        $this->container->singleton('http.server', function (IContainer $container) {
            return new HttpServer(
                $container,
                array_merge(
                    $container['option']['protocol\\server'],
                    $container['option']['protocol\\http']
                )
            );
        });
    }
注册  http.server 服务.