Swoole Server Methods

Introduction

Swoole 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.

Methods

  • Swoole\Server::__construct
  • Swoole\Server->set
  • Swoole\Server->on
  • Swoole\Server->listen
  • Swoole\Server->addListener
  • Swoole\Server->addProcess
  • Swoole\Server->start
  • Swoole\Server->reload
  • Swoole\Server->stop
  • Swoole\Server->shutdown
  • Swoole\Server->tick
  • Swoole\Server->after
  • Swoole\Server->defer
  • Swoole\Server->clearTimer
  • Swoole\Server->close
  • Swoole\Server->send
  • Swoole\Server->sendfile
  • Swoole\Server->sendto
  • Swoole\Server->sendwait
  • Swoole\Server->sendMessage
  • Swoole\Server->exist
  • Swoole\Server->pause
  • Swoole\Server->resume
  • Swoole\Server->getClientInfo
  • Swoole\Server->getClientList
  • Swoole\Server->bind
  • Swoole\Server->stats
  • Swoole\Server->task
  • Swoole\Server->taskCo
  • Swoole\Server->taskWait
  • Swoole\Server->taskWaitMulti
  • Swoole\Server->finish
  • Swoole\Server->heartbeat
  • Swoole\Server->getLastError
  • Swoole\Server->getSocket
  • Swoole\Server->protect
  • Swoole\Server->getCallback
  • Swoole\Server->getReceivedTime
  • Swoole\Server->getWorkerId
  • Swoole\Server->getWorkerPid
  • Swoole\Server->getManagerPid
  • Swoole\Server->getMasterPid