2014-10-27 11:24:20 +01:00
|
|
|
module Servant.API.Raw where
|
|
|
|
|
|
|
|
-- | Endpoint for plugging in your own Wai 'Application's.
|
2014-10-28 10:42:49 +01:00
|
|
|
--
|
|
|
|
-- The given 'Application' will get the request as received by the server, potentially with
|
|
|
|
-- a modified (stripped) 'pathInfo' if the 'Application' is being routed with 'Servant.API.Sub.:>'.
|
2014-11-22 18:04:19 +01:00
|
|
|
--
|
|
|
|
-- In addition to just letting you plug in your existing WAI 'Application's,
|
|
|
|
-- this can also be used with 'Servant.Utils.StaticFiles.serveDirectory' to serve
|
|
|
|
-- static files stored in a particular directory on your filesystem, or to serve
|
|
|
|
-- your API's documentation with 'Servant.Utils.StaticFiles.serveDocumentation'.
|
2014-10-27 11:24:20 +01:00
|
|
|
data Raw
|