Join 4,000+ others and never miss out on new tips, tutorials, and more.
Latest version:
pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5
OpenSwoole Server provides the API to write TCP, UDP, Unix Socket asynchronous servers. It supports IPv4, IPv6, one Way, two Way SSL and TLS Encryption. Developers do not have to know the internal implementations, only have to write the logics of the server in the callback functions.
OpenSwoole\Server::__construct
OpenSwoole\Server->set
OpenSwoole\Server->on
OpenSwoole\Server->listen
OpenSwoole\Server->addListener
OpenSwoole\Server->addProcess
OpenSwoole\Server->start
OpenSwoole\Server->reload
OpenSwoole\Server->stop
OpenSwoole\Server->shutdown
OpenSwoole\Server->tick
OpenSwoole\Server->after
OpenSwoole\Server->defer
OpenSwoole\Server->clearTimer
OpenSwoole\Server->close
OpenSwoole\Server->send
OpenSwoole\Server->sendfile
OpenSwoole\Server->sendto
OpenSwoole\Server->sendwait
OpenSwoole\Server->sendMessage
OpenSwoole\Server->exist
OpenSwoole\Server->pause
OpenSwoole\Server->resume
OpenSwoole\Server->getClientInfo
OpenSwoole\Server->getClientList
OpenSwoole\Server->bind
OpenSwoole\Server->stats
OpenSwoole\Server->task
OpenSwoole\Server->taskCo
OpenSwoole\Server->taskWait
OpenSwoole\Server->taskWaitMulti
OpenSwoole\Server->finish
OpenSwoole\Server->heartbeat
OpenSwoole\Server->getLastError
OpenSwoole\Server->getSocket
OpenSwoole\Server->protect
OpenSwoole\Server->getCallback
OpenSwoole\Server->getReceivedTime
OpenSwoole\Server->getWorkerId
OpenSwoole\Server->getWorkerPid
OpenSwoole\Server->getManagerPid
OpenSwoole\Server->getMasterPid