OpenSwoole Class Alias

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Notice: Alias will be removed in the future version of Openswoole.

Each OpenSwoole Class has two types of alias, although it is recommended to use the namespace when accessing these classes:

ClassAliasAlias
OpenSwoole\Serverswoole_serverSwoole\Server
OpenSwoole\Timerswoole_timerSwoole\Timer
OpenSwoole\Eventswoole_eventSwoole\Event
OpenSwoole\Asyncswoole_asyncSwoole\Async
OpenSwoole\Connection\Iteratorswoole_connection_iteratorSwoole\Connection\Iterator
OpenSwoole\Exceptionswoole_exceptionSwoole\Exception
OpenSwoole\Atomicswoole_atomicSwoole\Atomic
OpenSwoole\Atomic\Longswoole_atomic_longSwoole\Atomic\Long
OpenSwoole\Bufferswoole_bufferSwoole\Buffer
OpenSwoole\Channelswoole_channelSwoole\Channel
OpenSwoole\Clientswoole_clientSwoole\Client
OpenSwoole\Clientswoole_client_coroSwoole\Client
OpenSwoole\Http\Clientswoole_http_clientSwoole\Http\Client
OpenSwoole\Coroutine\Http\Clientswoole_http_client_coroSwoole\Coroutine\Http\Client
OpenSwoole\Http\Serverswoole_http_serverSwoole\Http\Server
OpenSwoole\Http\Responseswoole_http_responseSwoole\Http\Response
OpenSwoole\Http\Requestswoole_http_requestSwoole\Http\Request
OpenSwoole\Http2\Clientswoole_http2_clientSwoole\Http2\Client
OpenSwoole\Http2\Responseswoole_http2_responseSwoole\Http2\Response
OpenSwoole\Lockswoole_lockSwoole\Lock
OpenSwoole\Mmapswoole_mmapSwoole\Mmap
OpenSwoole\MySQLswoole_mysqlSwoole\MySQL
OpenSwoole\MySQL\Exceptionswoole_mysql_exceptionSwoole\MySQL\Exception
OpenSwoole\Processswoole_processSwoole\Process
OpenSwoole\Redisswoole_redisSwoole\Redis
OpenSwoole\Redis\Serverswoole_redis_serverSwoole\Redis\Server
OpenSwoole\Serializeswoole_serializeSwoole\Serialize
OpenSwoole\Server\Portswoole_server_portSwoole\Server\Port
OpenSwoole\Tableswoole_tableSwoole\Table
OpenSwoole\Table\Rowswoole_table_rowSwoole\Table\Row
OpenSwoole\WebSocket\Serverswoole_websocket_serverSwoole\WebSocket\Server
OpenSwoole\WebSocket\Frameswoole_websocket_frameSwoole\WebSocket\Frame
OpenSwoole\Exceptionswoole_exceptionSwoole\Exception
OpenSwoole\Errorswoole_errorSwoole\Error
OpenSwoole\Server\Taskswoole_server_taskSwoole\Server\Task
OpenSwoole\CoroutinecoSwoole\Coroutine
OpenSwoole\Coroutine::runco::runSwoole\Coroutine::run
OpenSwoole\Coroutine::creategoSwoole\Coroutine::create
Last updated on February 7, 2023