rdh-archipoint / rdh-socket-client
A socket client for RdhSocket
1.0.0
2023-12-14 11:33 UTC
Requires
- guzzlehttp/guzzle: ^7.8
This package is not auto-updated.
Last update: 2025-05-02 17:14:32 UTC
README
RdhSocketClient is a socket client for RdhSocket.
Installation
Use composer to install RdhSocket.
composer require rdh-archipoint/rdh-socket-client
Usage
use RdhArchipoint\RdhSocketClient; $r_client = new RdhSocketClient([ 'app_id' => 'APP_ID', 'app_key' => 'APP_KEY', 'token' => 'APP_TOKEN' ]); # EMITS EVENT $r_client->emit('CHANNEL_NAME','EVENT_NAME','DATA');
Replace APP_ID
, APP_KEY
, APP_TOKEN
with your current RdhSocket
application configuration.