websocket-client
websocket-client copied to clipboard
Async WebSocket client for PHP based on Amp.
Periodically, 5-10 times per hour, my script crashes into a fatal error. Here is the log: - _Connection closed abnormally while awaiting message; Code 1006 (ABNORMAL_CLOSE); Reason: "TCP connection closed...
I listening binance socket and 100 pairs have about 14k/msg/s. When I doing blocking operations when recieving messages (insert to db, calculating indicators etc.) After 10-20min of listening queue of...
I put the whole Loop doing a websocket in a try... catch( Exception $e ) { If there is a problem, like I disconnect internet, I get... ``` Amp\Websocket\ClosedException :...
This may be the issue with my set up and not a bug, but I am not sure where I can ask for help. I am following the basic example...
I am interested to know if amphp/websocket client responds with pong control frame to the ping control frame from web socket server, as per RFC6455 (https://tools.ietf.org/html/rfc6455#section-5.5)? While this library is...
This is a very handy library... but what if I want to listen, as in the example while ($message = yield $connection->receive()) { ... but also ping every x seconds...
I'm having problems figuring out the connection was closed. Below is the code example I'm using for testing. It connects to endpoint, sends ping messages to a server every 5...
Hi, All of a sudden we're receiving the error _"The request was not processed and can be safely retried."_. Until now, everything worked perfectly. Anybody got an idea of what...
An invalid request phase transition happens if the connection isn't properly established, here because `dum-increment-protocol` is passed instead of `dumb-increment-protocol`. ```php
Fixes this warning: ``` User Deprecated: Method League\Uri\Http::createFromString() is deprecated since league/uri:7.0.0, use League\Uri\Http::new() instead ```