on fb71eb8 help sign in
12 lines 617 B history raw
1module Servant.API.Raw where
3-- | Endpoint for plugging in your own Wai 'Application's.
4--
5-- The given 'Application' will get the request as received by the server, potentially with
6-- a modified (stripped) 'pathInfo' if the 'Application' is being routed with 'Servant.API.Sub.:>'.
7--
8-- In addition to just letting you plug in your existing WAI 'Application's,
9-- this can also be used with 'Servant.Utils.StaticFiles.serveDirectory' to serve
10-- static files stored in a particular directory on your filesystem, or to serve
11-- your API's documentation with 'Servant.Utils.StaticFiles.serveDocumentation'.
12data Raw