reywen_http 0.1.18

A simple and easy to use HTTPv2 library for Rust (based on tokio/reqwest)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(test)]
mod tests {
    use crate::engines::reqwest::Reqwest;
    use reqwest::Method;

    #[tokio::test]
    async fn request_basic() {
        assert!(Reqwest::new()
            .request_raw(Method::GET, "https://api.revolt.chat", None)
            .await
            .is_ok());
    }
}