mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-23 16:21:06 +01:00
add Client::new()
This commit is contained in:
parent
83d4447349
commit
cc24c77acc
@ -56,6 +56,11 @@ impl Default for Client {
|
||||
}
|
||||
|
||||
impl Client {
|
||||
/// Create new client instance with default settings.
|
||||
pub fn new() -> Client {
|
||||
Client::default()
|
||||
}
|
||||
|
||||
/// Build client instance.
|
||||
pub fn build() -> ClientBuilder {
|
||||
ClientBuilder::new()
|
||||
|
Loading…
Reference in New Issue
Block a user