K

Ktor HttpClient Reuse Companion

JetBrains

gap-hunter-labs · v—

Warning icon on a Ktor HttpClient(...) constructor call built inside a regular function body -- Ktor's own documentation states plainly: "creating HttpClient is not a cheap operation, and it's better to reuse its instance in the case of multiple requests." Building one inside a regular function means a brand new client (and its own connection pool/engine) gets created on every call. 100% static text/PSI analysis</b

Programming Language
Open in store ↗ id: 33904
Downloads
44
44
Rating
— ★
— ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Similar in “Programming Language”