HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulewai-extra-3.1.16Haskell2010

Network.Wai.Handler.CGI

Backend for Common Gateway Interface. Almost all users should use the run function.

  • 4 values
valuerunSendfile
  1. :: ByteString

    sendfile header

  2. -> Application
  3. -> IO ()
#

Some web servers provide an optimization for sending files via a sendfile system call via a special header. To use this feature, provide that header name here.