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.
Features
- Websocket Client
- Websocket Server
Other Useful Business Software
Cortex: Boost Developer Coding Skills
Cortex is a simple portal that helps developers work smarter by linking all your tools, setting clear rules, and slashing repetitive tasks. It speeds up onboarding, updates old code, and fixes issues fast. Over 100 big companies use it to save time and get better results.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PHP Websockets!