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 |
#2417 in Asynchronous
546 downloads per month
Used in 5 crates
41KB
542 lines
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
structto manage WebSocket connections - RequestHandler A
traitfor implementing features like authentication on your requests - WebSocketHandler A
traitthat is used to handle messages etc.. for a WebSocket Connection.
For a more detailed documentation, see the links above.
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
Dependencies
~7–27MB
~360K SLoC