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][websocket::WebSocketConnection] A structto manage WebSocket connections
- RequestHandler A traitfor implementing features like authentication on your requests
- [WebSocketHandler][websocket::WebSocketHandler] A traitthat is used to handle messages etc.. for a WebSocket Connection.
For a more detailed documentation, see the links above.
Re-exports§
- pub extern crate reqwest;
- pub extern crate tokio_tungstenite;