ktor-server-core / io.ktor.request / document

document

fun ApplicationRequest.document(): String

Request's document name (substring after the last slash but before query string)