FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

psinetron/PHP_SocketIO_Client: PHP client for socket.io (websocket client) · GitHub

Repository navigation

About

PHP client for socket.io (websocket client)

Resources

Stars

80 stars

Watchers

12 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

PHP_SocketIO_Client

EN: PHP client for socket.io (websocket client)

How to use:

$socketio = new SocketIO();
if ($socketio->send('localhost', 9090, 'message', 'Hello world!')){
    echo 'we sent the message and disconnected';
} else {
    echo 'Sorry, we have a mistake :\'(';
}

RUS: PHP клиент для socket.io

Как использовать:

$socketio = new SocketIO();
if ($socketio->send('localhost', 9090, 'message', 'Привет мир!')){
    echo 'Мы отправили сообщение и отключились от сокета';
} else {
    echo 'Возникла ошибка при общении с  веб-сокетом :\'(';
}

Thanks to:

bitkill

About

PHP client for socket.io (websocket client)

Resources

Stars

80 stars

Watchers

12 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL