Tait Hoyem
cbcd244e46
Additional progress on tokio and async_std versions
2 years ago
Tait Hoyem
0187c049cf
Initial work on a tokio/async-std feature
2 years ago
Laurent Pelecq
4528d9c407
Fix response type and remove errors that can be mapped to io::Error.
2 years ago
Laurent Pelecq
9e4b09d96d
Implement history get client list.
2 years ago
Laurent Pelecq
3622313d78
Fix one clippy warning
2 years ago
Laurent Pelecq
f662405997
Move generic methods send and receive from AsyncClient to Client.
...
* Generic methods can be used in the synchronous API. It gives the choice to use
either specific calls or the generic ones.
* AsyncClient consists in a simple queue of requests.
* Getters only return the generic Response::Get. Callers must convert if it's an
integer.
2 years ago
Laurent Pelecq
883e491a7f
Add all requests in AsyncClient.
...
* Simplify fifo tests with tempfile.
* Test getter in async fifo tests.
2 years ago
Laurent Pelecq
bf33d18bb2
Use log::debug in debug mode to trace communication with server
2 years ago
Laurent Pelecq
a186c456db
Dual synchronous and asynchronous API.
...
* Calls have been separate in a "send" and a "receive" to have the same methods in both modes.
* Asynchrone API is enabled with feature "async-mio".
2 years ago
Laurent Pelecq
73b2531c4f
Dual synchronous and asynchronous API
...
Tests don't work in async mode
2 years ago
Laurent Pelecq
590859d15e
upgrade dependencies and fix lint errors
2 years ago
Laurent Pelecq
da3f295f96
Fix type ClientTarget. Move basic types in types.rs.
3 years ago
Laurent Pelecq
5939548b69
fix speak, add documentation.
3 years ago
Laurent Pelecq
aa73dab21b
add speak and unit tests for the client
3 years ago
Laurent Pelecq
cab51e0fc6
add tests for unix client
3 years ago
Laurent Pelecq
0914f8b191
initial implementation to connect and quit
3 years ago