HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleservant-0.20.2Haskell2010

Servant.API.Raw

  • 2 types
  • Packageservant-0.20.2
  • 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.2 · Servant.Links
  • type MkLink Raw a = aDefined in servant-0.20.2 · 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.2 · Servant.Links
  • type MkLink RawM a = aDefined in servant-0.20.2 · Servant.Links