mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +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