https://kotlinlang.org logo
#ktor
Title
# ktor
t

Tristan Caron

01/16/2018, 9:52 AM
Hello, Is there way to access to call some endpoints internally? Example, I want to concatenate two endpoints:
Copy code
routing {
            get("/path") {
                // something
            }

            get("/other-path") {
                // something
            }

            get("/merge-path") {
                // call(/path) + (/other-path)
            }
        }