Reywen-HTTP
Why another HTTP lib?
Originally I maintained my own HTTP library within a project for Revolt.chat, but it became too large and is now in it's own repository. That said the library can be easily used by anyone for any API!
Features
- built-in serde support
- can use a variety of HTTP engines
- WASM support
- Tokio async
Example Using Hypixel API
As shown below the library can be used without much prior setup or configuration, and runs asynchronously.
This example uses Hyper as its backend, however there are many different HTTP engines available for use. All of them implement the same Request/ReqRaw syntax
use crate;
use Method;
use ;
use Value;
pub async