can i create too many instances using ktor?

You can create as many HttpClient as you want, like you could do with OkHttp.

It’s up to you to make it singleton so that to have only one client instance.

You can do it by yourself or use a DI library.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top