O

OkHttp Client Reuse Companion

JetBrains

gap-hunter-labs · v—

Gutter warning icon on an OkHttpClient built via new OkHttpClient() or new OkHttpClient.Builder().build() inside a regular method body -- OkHttp's own documentation states "OkHttp performs best when you create a single OkHttpClient instance and reuse it for all of your HTTP calls, because each client holds its own connection pool and thread pools... creating a client for each request wastes resource

Code EditingInspection
Open in store ↗ id: 33808
Downloads
39
39
Rating
— ★
— ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Similar in “Code Editing”