ktor-server-core / io.ktor.features / CORS / Configuration / headerPredicates

headerPredicates

val headerPredicates: MutableList<(String) -> Boolean>

If present represents the prefix for headers which are permitted in cors requests.