Skip to content

Jacked-PHP/sample-ws-server-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample WebSocket Server-Side Client

Jacked PHP by Savio Resende

This is a sample WebSocket Server-Side Client that connects to the WebSocker server here: https://github.com/Jacked-PHP/sample-websocket-server

Usage:

Step 1

Install dependencies:

composer install

Step 2

Start Client:

php client.php

Step 3

Observe that whenever another client messages "hello", this bot messages the whole channel "hello (from the bot)".

About

Example of WebSocket server-side Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages