handlePreflight
handlePreflight(
req,res,options):void
Defined in: cors.ts:92
Handle CORS preflight (OPTIONS) request
Parameters
Section titled “Parameters”IncomingMessage
ServerResponse
options
Section titled “options”Required<CORSOptions>
Returns
Section titled “Returns”void