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