options

abstract fun options(path: String, handler: Value)

Register an OPTIONS route handler at path. The handler must be a function and will receive two parameters (ExpressRequest and ExpressResponse, respectively).