Download the PHP package lessmore92/swoole-websocket-client without Composer
On this page you can find all versions of the php package lessmore92/swoole-websocket-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lessmore92/swoole-websocket-client
More information about lessmore92/swoole-websocket-client
Files in lessmore92/swoole-websocket-client
Download lessmore92/swoole-websocket-client
More information about lessmore92/swoole-websocket-client
Files in lessmore92/swoole-websocket-client
Vendor lessmore92
Package swoole-websocket-client
Short Description Easy-To-Use Swoole Websocket Client
License MIT
Package swoole-websocket-client
Short Description Easy-To-Use Swoole Websocket Client
License MIT
Please rate this library. Is it a good library?
Informations about the package swoole-websocket-client
Easy-to-use Swoole WebSocket Client
Installation
Requirements
- PHP>=7.4
- openswoole-4.11.1 (not tested other versions, maybe it works.)
Usage
Just pass the web socket URL to WebSocketClient
.
Note:
- This library is for CLI-based scripts and does not work for web-based ones.
- Because of web socket is async (and maybe be an always running task) it needs to be executed in the Swoole coroutine (
Co\run
); see sample below.
Sample
All versions of swoole-websocket-client with dependencies
PHP Build Version
Package Version
The package lessmore92/swoole-websocket-client contains the following files
Loading the files please wait ....