dev.programadorthi.routing:dev.programadorthi.routing.gradle.plugin

The KSP Gradle Plugin


Keywords
android, compose, deeplink, jetbrains, kmm, kotlin, ktor, multiplatform, multiplatform-kotlin-library, navigation, navigator, router, routing
License
Apache-2.0

Documentation

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:

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.