PHP Classes

File: vendor/srchea/php-push-web-socket/README.md

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   PHP Facebook Agent Helpers   vendor/srchea/php-push-web-socket/README.md   Download  
File: vendor/srchea/php-push-web-socket/README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Facebook Agent Helpers
Implements a chatbot using Facebook Messenger
Author: By
Last change:
Date: 2 years ago
Size: 930 bytes
 

Contents

Class file image Download

PHP Push WebSocket

PHP Push WebSocket is an implementation of the WebSocket protocol following the specification of RFC 6455. It also includes a client side for examples.

Usage

1. run a server instance: php websocket_server.php. 2. Open websocket_client.html in a browser over HTTP protocol.

Examples of use cases

* Instant messenger * Push app notifications * Shared applications like presentation (slides), collaborative text editors * Data monitoring, and much more

Bottom line

Here is a blog post about this implementation: http://srchea.com/build-a-real-time-application-using-html5-websockets

Composer/Packagist: https://packagist.org/packages/srchea/php-push-web-socket

Feel free to contribute! :-)