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

4.x is outdated, please check the latest version 22.x


Latest version: pecl install openswoole-22.1.2

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 August 31, 2022