Skip to content

codersee-blog/kotlin-ktor-kotlinx-serialization

Repository files navigation

How To Use kotlinx.serialization with Ktor and Kotlin?

This is a repository for the tutorial on how to use Ktor and Kotlinx.Serialization to create a simple web server and client application. In this part, we will learn how to use WebSockets to enable bidirectional communication between the server and the client.

Instructions

  1. Run the main() function from UserServer.kt to start the server
  2. To run the client for request, start the main() function from UserClient.kt
  3. To run the WebSocket client, start the main() function from WebSocketClient.kt

Releases

No releases published

Packages

No packages published

Languages