php-wss

Web-socket server/client with multi-process and parse templates support on server and send/receive options on client

MIT License

Downloads
724.3K
Stars
211
Committers
8
php-wss - Remove large payload on false ret Latest Release

Published by arthurkushman over 2 years ago

php-wss - Add an ability to set $streamSelectTimeout = null

Published by arthurkushman over 2 years ago

to provide configuration of stream_select with:

If seconds is null stream_select() can block indefinitely, returning only when an event on one of the watched streams occurs (or if a signal interrupts the system call).

php-wss - Bug-fix stream_socket_accept(): Accept failed: Operation timed out

Published by arthurkushman about 3 years ago

php-wss - Fix large payload unsaved and closed connection

Published by arthurkushman over 3 years ago

When there is a large payload - server will save intermediate data for further processing

php-wss - PHP-7.4 support, strict types, minor bug fixes

Published by arthurkushman over 3 years ago

Add property strict types
Fix $isMask always true issue
phpunit >=9.4 support

php-wss - Add SSL server run options

Published by arthurkushman almost 4 years ago

php-wss - Change DEFAULT_RESPONSE_HEADER value to 8192

Published by arthurkushman almost 4 years ago

What is the maximum size of HTTP header values?
Apache 8K
Nginx 4K-8K
IIS 8K-16K
Tomcat 8K - 48K

php-wss - Fix method type detection on dynamic call of RFC web-socket supported methods

Published by arthurkushman over 4 years ago

php-wss - Origin check implementation on server

Published by arthurkushman almost 5 years ago

  • Origin check implementation on server to check clients sending Origin header
  • Refactor looping method to make code more clean
  • Add more rules to .gitattributes to exclude extra files from zip archive
php-wss - Fix CONNECT to proxy with pre-configured port

Published by arthurkushman almost 5 years ago

php-wss - Add pcntl ext detection + WebSocketServer refactor

Published by arthurkushman almost 5 years ago

php-wss - Add proxy connection support (+ auth) from client

Published by arthurkushman almost 5 years ago

php-wss - Add broadCastMany method to Connection class

Published by arthurkushman over 5 years ago

php-wss - Add .gitattributes support for projects with critical net/traffic envs and others

Published by arthurkushman over 5 years ago

To exclude minor dirs/files from package, that do not operate in code execution on prod environments

php-wss - Add setProcessName, drop php < 7.1 support as outdated

Published by arthurkushman over 5 years ago

php-wss - Add client intercommunication config options by passing them to stream_context_create

Published by arthurkushman almost 6 years ago

php-wss - Add multiple features, server/client bug fixes

Published by arthurkushman about 6 years ago

  • Add optional headers support on handshake via constructor/setter
  • Fix new Connection object to be created (as unique resource) for every new client connection
  • Fix closing frame sent before socket connection closed
  • Add clients_per_fork_limit option to WebSocketServer constructor + getUniqueSocketId
  • Add ServerConfig to pass DI to the WebSocketServer constructor
  • Change array config to ClientConfig class passed as second parameter to WebSocketClient
  • Fix non-resource closing connection on stream_select
  • BroadCast msgs to connected clients, forking on/off handle via ServerConfig
  • Add error codes for protocol-layer
php-wss - Change die to exceptions on stream_select

Published by arthurkushman about 6 years ago

php-wss - BroadCast msgs to connected clients, forking on/off handle via ServerConfig

Published by arthurkushman about 6 years ago

php-wss - Add ServerConfig to pass DI to the WebSocketServer constructor + readme

Published by arthurkushman about 6 years ago

Package Rankings
Top 2.22% on Packagist.org
Badges
Extracted from project README
Scrutinizer Code Quality Build Status License: MIT