Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/programadorthi/kotlin-routing

An extensible and multiplatform routing system powered by Ktor
https://github.com/programadorthi/kotlin-routing

android compose deeplink jetbrains kmm kotlin ktor multiplatform multiplatform-kotlin-library navigation navigator router routing

Last synced: 23 days ago
JSON representation

An extensible and multiplatform routing system powered by Ktor

Awesome Lists containing this project

README

        


Kotlin Routing

A multiplatform, extensible, and independent routing library powered by Ktor.
Create routing independently and extend it to what you need.

## Core module

The core module is the Ktor routing engine modified to be "server" and "client".
It is abstract and ready to extend.
Using core module you can:

```kotlin
val router = routing {
route(path = "/hello") {
handle {
// Handle the call to the routing "/login"
}
}
}

// And to call login routing...
router.call(uri = "/hello")
```

For more information check the [Wiki pages](https://github.com/programadorthi/kotlin-routing/wiki).