project ws-client-server
Weboscket client-server testing
gemorroj/ws-client-server
Weboscket client-server testing
- Sunday, April 15, 2018
- by Gemorroj
- Repository
- 1 Watchers
- 2 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Websocket client-server testing
see https://github.com/ratchetphp/Ratchet/issues/626, (*1)
import mysql dump example-db.sql
, (*2)
Start Websocket server and start Websocket emitter
# ws server
bin/ws-server
# ws emitters
bin/ws-emitter-timer
# or
bin/ws-emitter-simple
Or you can start single Websocket server and Emitter (connect into websocket protocol)
bin/ws-single-server-emitter-timer
Or you can start joint Websocket server and Emitter (recommended solution)
bin/ws-joint-server-emitter-timer
open public/index.html
into browser, (*3)
for auth you can use https://php.net/hash_hmac, (*4)
dev-master
9999999-dev
Weboscket client-server testing
Sources
Download
MIT
The Requires
by
Gemorroj
asynchronous
websocket
ws
react
amphp
ratchet
reactphp
event-loop
acync
async-mysql