1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

awc: Rename Client::build to Client::builder (#1665)

This commit is contained in:
Igor Aleksanov
2020-09-11 11:24:39 +03:00
committed by GitHub
parent 22089aff87
commit 121075c1ef
11 changed files with 19 additions and 16 deletions

View File

@ -47,7 +47,7 @@ async fn test_connection_window_size() {
.set_alpn_protos(b"\x02h2\x08http/1.1")
.map_err(|e| log::error!("Can not set alpn protocol: {:?}", e));
let client = awc::Client::build()
let client = awc::Client::builder()
.connector(awc::Connector::new().ssl(builder.build()).finish())
.initial_window_size(100)
.initial_connection_window_size(100)