are there any examples on how to create a ktor `Fe...
# ktor
j
are there any examples on how to create a ktor
Feature
which would add a route to the RoutingFeature?
b
Copy code
fun installRouting(routing: Routing) {
		  routing.route("/") {
				get {
...
				}
		  }
	 }
Copy code
fun Application.main() {
    routing {
        installRouting(this)
    }
}
j
But it's not possible to do something like this as a feature? I want to do that along side having access to the
ApplicationCallPipeline
b
image.png