8 releases
0.3.0 | Dec 7, 2023 |
---|---|
0.2.1 | Mar 17, 2023 |
0.2.0 | Feb 28, 2023 |
0.1.4 | Feb 5, 2023 |
0.1.1 | Dec 23, 2022 |
#2008 in Asynchronous
91 downloads per month
Used in 5 crates
41KB
542 lines
Generic API Client
This library is mainly for API client library developers.
Using this crate, you can use the same client to interact with multiple different APIs with, different authentication methods, data formats etc.
The handler traits allow you to do things like authentication, data parsing etc.
For a more detailed explanation on what this crate can do, see the documentation in the source code.
An example of a library that depends on this crate: crypto-botters
lib.rs
:
Generic-API-Client
This is a crate for interacting with HTTP/HTTPS/WebSocket APIs. It is named "generic" because you can use the same client to interact with multiple different APIs with, different authentication methods, data formats etc.
This crate provides
- Client A HTTP/HTTPS client
- WebSocketConnection A
struct
to manage WebSocket connections - RequestHandler A
trait
for implementing features like authentication on your requests - WebSocketHandler A
trait
that is used to handle messages etc.. for a WebSocket Connection.
For a more detailed documentation, see the links above.
Dependencies
~6–21MB
~326K SLoC