Open Swoole supports the common used server side and client side protocols: TCP/UDP, HTTP, HTTP2, WebSocket, Redis, PostgreSQL, MySQL, MQTT, FastCGI Client.
Server side protocols
- TCP/UDP Server: OpenSwoole\Server
- HTTP/HTTP2 Server: OpenSwoole\HTTP\Server
- WebSocket Server: OpenSwoole\WebSocket\Server
- MQTT Server: MQTT Server(Part of
OpenSwoole\Server
) - FastCGI Server Client: OpenSwoole\Coroutine\FastCGI\Client
Client side protocols
- TCP/UDP Client: OpenSwoole\Coroutine\Client
- HTTP/WebSocket Client: OpenSwoole\Coroutine\Http\Client
- HTTP2 Client: OpenSwoole\Coroutine\Http2\Client
- Redis Client: OpenSwoole\Coroutine\Redis
- MySQL Client: OpenSwoole\Coroutine\MySQL
- PostgreSQL Client: OpenSwoole\Coroutine\Postgres(
ext-postgresql
extension is required) - Coroutine Socket: OpenSwoole\Coroutine\Socket