-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Provide responses to OPTIONS requests for Servant applications.
--   
--   Provide responses to OPTIONS requests for Servant applications.
@package servant-options
@version 0.1.0.0


-- | A middleware to respond to Options requests for a servant app very
--   helpful when trying to deal with pre-flight CORS requests.
module Network.Wai.Middleware.Servant.Options
provideOptions :: (GenerateList NoContent (Foreign NoContent api), HasForeign NoTypes NoContent api) => Proxy api -> Middleware
