First, we need to create a Ktor client to make network requests similarly to the retrofit builder. We use Ktor’s HTTP client and pass the engine in the constructor (in this case, it’s CIO). Then we have to install a specific feature and optionally configure it.