HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleservant-0.20.3.0Haskell2010

Servant.API.Raw

  • 2 types
  • Packageservant-0.20.3.0
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceRaw.hs
datadata Raw
#

Endpoint for plugging in your own Wai Applications.

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 :>.

In addition to just letting you plug in your existing WAI Applications, this can also be used with functions from Servant.Server.StaticFiles to serve static files stored in a particular directory on your filesystem

Instances2HasLink, MkLink
  • HasLink RawDefined in servant-0.20.3.0 · Servant.Links
  • type MkLink Raw a = aDefined in servant-0.20.3.0 · Servant.Links
datadata RawM
#

Variant of Raw that lets you access the underlying monadic context to process the request.

Instances2HasLink, MkLink
  • HasLink RawMDefined in servant-0.20.3.0 · Servant.Links
  • type MkLink RawM a = aDefined in servant-0.20.3.0 · Servant.Links