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

Latest version: pecl install openswoole-4.11.1

Declaration

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

Parameters

None

Return

None


Description

Once you have setup the server and registered request callbacks using the handle() method, you can start the server. The server will begin listening on the host and port.


Last updated on March 31, 2022