This project provides 6 new functions to PHP that are meant to interact with a websocket (RFC6455) peer.
ws_get_frame_info() - Gets information about an upcoming websockets frame ws_read_frame() - Reads the data of a websockets frame from a client or server ws_send_close() - Sends a close frame to the websockets peer ws_send_ping() - Sends a ping frame to the websockets peer ws_send_pong() - Sends a pong frame to the websockets peer
These functions are written in low level C so they are fast when compared with functions that are written in PHP, especially for operations like sending and receiving larger binary files.
Latest 5 files |
|||
---|---|---|---|
名稱 | 大小 | 日期 | 下載總數 |
CHANGELOG | 5.3 KB | 2013-03-26 13:59 | 4 |
README | 3.4 KB | 2013-03-26 13:59 | 37 |
phpwebsockets-1.4.1.tar.gz | 82.4 KB | 2013-03-26 13:59 | 116 |
phpwebsockets-1.3.1.tar.gz | 23.0 KB | 2013-01-25 16:00 | 88 |
phpwebsockets-1.3.tar.gz | 20.1 KB | 2013-01-17 07:07 | 19 |
All Files |
|||
CHANGELOG | 5.3 KB | 2013-03-26 13:59 | 4 |
README | 3.4 KB | 2013-03-26 13:59 | 37 |
phpwebsockets-1.4.1.tar.gz | 82.4 KB | 2013-03-26 13:59 | 116 |
phpwebsockets-1.3.1.tar.gz | 23.0 KB | 2013-01-25 16:00 | 88 |
phpwebsockets-1.3.tar.gz | 20.1 KB | 2013-01-17 07:07 | 19 |
phpwebsockets-1.2.tar.gz | 62.8 KB | 2013-01-14 10:13 | 14 |
phpwebsockets-1.0.tar.gz | 11.9 KB | 2012-12-27 21:59 | 3 |