ktor-locations / io.ktor.locations / io.ktor.application.ApplicationCall / location

location

inline fun <reified T : Any> ApplicationCall.location(): T

Retrieves the current call's location or fails if it is not available (request is not handled by a location class), or not yet available (invoked too early before the locations feature takes place).