Skip to content

Commit e4a189d

Browse files
committed
Connection pool update
1 parent 0035a3b commit e4a189d

File tree

1 file changed

+5
-0
lines changed
  • ok-http/src/main/java/com/unidev/httpclient/okhttp

1 file changed

+5
-0
lines changed

ok-http/src/main/java/com/unidev/httpclient/okhttp/OkHttp.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ public static OkHttpClient.Builder connectionPool(OkHttpClient.Builder builder,
5757
return builder;
5858
}
5959

60+
public static OkHttpClient.Builder connectionPool(OkHttpClient.Builder builder, ConnectionPool connectionPool) {
61+
builder.connectionPool(connectionPool);
62+
return builder;
63+
}
64+
6065
public static OkHttpClient httpClient(OkHttpClient.Builder builder) {
6166
return new OkHttpClient(builder);
6267
}

0 commit comments

Comments
 (0)