2017 © Pedro Peláez
 

project ws-client-server

Weboscket client-server testing

image

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

The README.md

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
bin/ws-joint-server-emitter-timer

open public/index.html into browser, (*3)

for auth you can use https://php.net/hash_hmac, (*4)

The Versions

15/04 2018

dev-master

9999999-dev

Weboscket client-server testing

  Sources   Download

MIT

The Requires

 

by Avatar Gemorroj

asynchronous websocket ws react amphp ratchet reactphp event-loop acync async-mysql