add Client::new()

This commit is contained in:
Nikolay Kim 2019-03-26 09:11:27 -07:00
parent 83d4447349
commit cc24c77acc
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@ impl Default for Client {
} }
impl Client { impl Client {
/// Create new client instance with default settings.
pub fn new() -> Client {
Client::default()
}
/// Build client instance. /// Build client instance.
pub fn build() -> ClientBuilder { pub fn build() -> ClientBuilder {
ClientBuilder::new() ClientBuilder::new()