Crate generic_api_client
source ·Expand description
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 manager 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.