Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/programadorthi/kotlin-routing
- Owner: programadorthi
- License: apache-2.0
- Created: 2023-04-11T00:25:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-15T00:43:52.000Z (3 months ago)
- Last Synced: 2024-09-15T07:11:59.264Z (3 months ago)
- Topics: android, compose, deeplink, jetbrains, kmm, kotlin, ktor, multiplatform, multiplatform-kotlin-library, navigation, navigator, router, routing
- Language: Kotlin
- Homepage: https://github.com/programadorthi/kotlin-routing/wiki
- Size: 808 KB
- Stars: 51
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kotlin-multiplatform - kotlin-routing
README
Kotlin RoutingA 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).