CorsCallback

fun CorsCallback(    allowedOrigin: String = "*",     allowedMethods: Set<HttpMethod> = ALL,     allowedHeaders: Set<String> = emptySet(),     exposedHeaders: Set<String> = emptySet(),     supportCredentials: Boolean = true,     preFlightStatus: SuccessStatus = NO_CONTENT,     preFlightMaxAge: Long = 0)
fun CorsCallback(    allowedOrigin: Regex,     allowedMethods: Set<HttpMethod> = ALL,     allowedHeaders: Set<String> = emptySet(),     exposedHeaders: Set<String> = emptySet(),     supportCredentials: Boolean = true,     preFlightStatus: SuccessStatus = NO_CONTENT,     preFlightMaxAge: Long = 0)