dw::io::http::Interceptors Index Functions Name Description CORS isOptions Functions CORS CORS(allowOrigin: Array<String> | "SameOrigin" = [""], allowMethods: Array<String> = ["POST", "GET", "OPTIONS"], allowHTTPHeaders: Array<String> = [""], exposeHeaders: Array<String> = [""], maxAge: Number = -1, allowCredentials: Boolean = false) CORS(allowOrigin: (HttpServerRequest) -> Array<String>, allowMethods: (HttpServerRequest) -> Array<String>, allowHTTPHeaders: (HttpServerRequest) -> Array<String>, exposeHeaders: (HttpServerRequest) -> Array<String>, maxAge: Number = -1, allowCredentials: Boolean = false) isOptions isOptions(request: HttpServerRequest)