Euphoria API bindings for Rust
Find a file
Joscha c385ae9d97 Fix websocket pinging behaviour
The websocket standard allows sending arbitrary pong frames at any time
as a unidirectional heartbeat. With the connection's previous
implementation of websocket pinging, this would result in a disconnect
because the connection thought the server had missed its pong.

The current implementation only results in false positives, not
negatives, if the server accidentally sends an unprompted pong with the
same payload as our last ping. It can be debated whether this is an
actual *false* positive or just a plain positive though as the server is
still alive.
2022-08-20 20:02:18 +02:00
examples Add simple example bot named TestBot 2022-08-18 17:31:35 +02:00
src Fix websocket pinging behaviour 2022-08-20 20:02:18 +02:00
.gitignore Create project 2022-08-18 00:25:02 +02:00
Cargo.toml Reduce required features of future crate 2022-08-18 18:30:25 +02:00