
Ktor: Build Asynchronous Servers and Clients in Kotlin
Ktor is built from the ground up using Kotlin and Coroutines. You get to use a concise, multiplatform language, as well as the power of asynchronous programming with an intuitive imperative flow.
Welcome | Ktor Documentation
Ktor Documentation Ktor is a framework for building asynchronous server-side and client-side applications with ease.
Learn | Ktor Framework
If you're new to Ktor, work your way through some of the tutorials we have prepared that guide you on a step-by-step journey covering different Ktor capabilities. Creating a new Ktor Project …
Create, open and run a new Ktor project | Ktor Documentation
2025年1月29日 · Get started with building your first Ktor Server application. In this tutorial you will learn how to create, open and run a new Ktor project.
Create a client application | Ktor Documentation
2024年6月13日 · Ktor includes a multiplatform asynchronous HTTP client, which allows you to make requests and handle responses, extend its functionality with plugins, such as authentication, JSON serialization, and more. In this tutorial, we'll show you how to create your first Ktor client application that sends a request and prints out a response ...
Routing | Ktor Documentation
2025年2月6日 · Routing is the core Ktor plugin for handling incoming requests in a server application. When the client makes a request to a specific URL (for example, /hello), the routing mechanism allows us to define how we want this request to be served.
How to create RESTful APIs in Kotlin with Ktor
2024年12月10日 · In this tutorial, we’ll explain how to build a backend service using Kotlin and Ktor, featuring an example of a RESTful API that generates JSON files. In the previous tutorial, we introduced you to the fundamentals of validation, error handling, and unit testing.
FAQ | Ktor Documentation
2024年4月2日 · The name Ktor is derived from the abbreviation ctor (constructor) with the first letter replaced by 'K' for Kotlin. How do I put questions, report bugs, contact you, contribute, give feedback, etc.?
Create Ktor Applications | Ktor Framework
Via start.ktor.io you can create a new Ktor application and configure the required functionality much like you can via IntelliJ IDEA. In addition you can also create an instance of TeamCity to start building your project!
Creating and configuring a client | Ktor Documentation
import io.ktor.client.* import io.ktor.client.engine.cio.* val client = HttpClient(CIO) { engine { // Configure an engine } }