Skip to content

Commit

Permalink
Connection pool update
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 committed Nov 27, 2022
1 parent 0035a3b commit e4a189d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public static OkHttpClient.Builder connectionPool(OkHttpClient.Builder builder,
return builder;
}

public static OkHttpClient.Builder connectionPool(OkHttpClient.Builder builder, ConnectionPool connectionPool) {
builder.connectionPool(connectionPool);
return builder;
}

public static OkHttpClient httpClient(OkHttpClient.Builder builder) {
return new OkHttpClient(builder);
}
Expand Down

0 comments on commit e4a189d

Please sign in to comment.