0PricingLogin
Kotlin Multiplatform Academy · Lesson

Add Ktor & Pick Platform Engines

Wire OkHttp and Darwin engines per target.

One HTTP Client Everywhere

Ktor Client is a multiplatform HTTP library, so you write networking once in commonMain and it runs on Android and iOS alike.

Core Plus Engine

Ktor splits into a shared core and per-platform engines. The core gives the API, the engine does the actual socket work.

All lessons in this course

  1. Add Ktor & Pick Platform Engines
  2. Your First GET Request
  3. POST, Headers & Query Params
  4. Timeouts, Logging & Base URLs
← Back to Kotlin Multiplatform Academy