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

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.