ktor
2.0.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
ktor-server-cors
/
io.ktor.server.plugins.cors
/
CORSConfig
/
allowHeaders
allow
Headers
fun
allowHeaders
(
predicate
:
(
String
)
->
Boolean
)
Content copied to clipboard
Allows using headers matching
predicate
for the actual
CORS
request.