php-wss icon indicating copy to clipboard operation
php-wss copied to clipboard

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

Results 8 php-wss issues
Sort by recently updated
recently updated
newest added

https://github.com/arthurkushman/php-wss/blob/6e027588d4a23bb9e55acc9d2ea61389df3b3af2/src/Components/WSClientTrait.php#L132 31 is 11111b, to check 4 bits, use the constant 15 (1111b). This is not so important now, because the algorithm grabs the RSV3 bit, which should now be...

I can see you have more than one `new Connection` For better performance I would recommend only doing it once but then store all connections in an array like you...

question
performance

When closing the connection from the client I always get `1005` 1005 No Status Recvd | Reserved. Indicates that no status code was provided even though one was expected. https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent...

enhancement
help wanted

See keyword standard here: https://datatracker.ietf.org/doc/html/rfc6455#section-4.2.2 Fix docs.

Hello, I'm trying to use the client to connect to a 3rd-party server and receive updates. Seems that when there's no new messages, calling the receive() method results in a...

Hi, My code worked fine till about 10 days ago, when I suddenly couldn't connect to a third party websocket server. The following is the error log, various system version...

PHP Fatal error: Uncaught WSSC\Exceptions\ConnectionException: Connection to 'ws://external-api.xtremepush.com:80/websock' failed: Server sent invalid upgrade response: HTTP/1.1 301 Moved Permanently Date: Wed, 20 Mar 2024 13:44:10 GMT Content-Type: text/html Content-Length: 166 Connection:...