src/client.rs: improve library structure and docu

This commit is contained in:
Dietmar Maurer
2019-02-14 11:11:39 +01:00
parent 18a1aa4858
commit 151c6ce27d
6 changed files with 71 additions and 39 deletions

View File

@ -11,6 +11,7 @@ use futures::stream::Stream;
use serde_json::{Value};
use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET};
/// HTTP(S) API client
pub struct HttpClient {
username: String,
server: String,