[−][src]Module i2cbus_api::client::remote
(c) Piers Finlayson 2018
This module provides a front-end to the API client implementation which makes it easy to use the client from within another Rust program, by taking care of running its own reactor to drive the asynchronous work implicit is working with a RESTful API.
To use, create a new handle then call the methods on this object:
let handle = Handle::new("http://ip:port"); let rsp = handle.write_bytes(...); // Handle response ...
Calls can of course be chained together
See pca9956b/src/http.rs for more comprehensive usage examples
Structs
Handle |
Enums
RequestType | |
Response |