serai/common/request
Luke Parker 56fd11ab8d
Use a single long-lived RPC connection when authenticated
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.
2023-11-07 17:42:19 -05:00
..
src Use a single long-lived RPC connection when authenticated 2023-11-07 17:42:19 -05:00
Cargo.toml Replace reqwest with simple-request 2023-11-06 09:47:12 -05:00
LICENSE Replace reqwest with simple-request 2023-11-06 09:47:12 -05:00
README.md Replace reqwest with simple-request 2023-11-06 09:47:12 -05:00

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.