public PreflightRequestHandler(OwinMiddleware next, PreflightRequestHandlingOptions options) : base(next) { _options = options; }
public static IAppBuilder HandlePreflightRequests(this IAppBuilder app, PreflightRequestHandlingOptions options) { app.Use(typeof(PreflightRequestHandler), options); return(app); }