mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
The prior system spawned a new connection per request to enable parallelism, yet kept hitting hyper::IncompleteMessages I couldn't track down. This attempts to resolve those by a long-lived socket. Halves the amount of requests per-authenticated RPC call, and accordingly is likely still better overall. I don't believe this is resolved yet but this is still worth pushing.
Simple Request
A simple alternative to reqwest, supporting HTTPS, intended to support a majority of use cases with a fraction of the dependency tree.
This library is built directly around hyper, hyper-rustls, and does require
tokio. Support for async-std would be welcome.