options

fun Route.options(
    path: String,
    body: PipelineInterceptor<Unit, ApplicationCall>
): Route

Builds a route to match OPTIONS requests with specified path

fun Route.options(
    body: PipelineInterceptor<Unit, ApplicationCall>
): Route

Builds a route to match OPTIONS requests