HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulewai-extra-3.1.18Haskell2010

Network.Wai.Handler.CGI

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

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