Swoole\Coroutine\Http\Server->shutdown()

Notice: ext-swoole is supported until v4.7.1, use ext-openswoole >= v4.7.1. Latest version: pecl install openswoole-4.9.1

Declaration

<?php
Swoole\Coroutine\Http\Server->shutdown(): void

Parameters

None

Return

None


Description

Shutdown a running coroutine HTTP server, all connections will be closed and the server will stop.