wai-extra-0.3.1: Provides some basic WAI handlers and middleware.

Network.Wai.Handler.CGI

Documentation

run'Source

Arguments

:: [(String, String)]

all variables

-> Handle

responseBody of input

-> Handle

destination for output

-> Application 
-> IO () 

run''Source

Arguments

:: [(String, String)]

all variables

-> (forall a. Int -> Enumerator ByteString IO a)

responseBody of input

-> (ByteString -> IO ())

destination for output

-> Maybe ByteString

does the server support the X-Sendfile header?

-> Application 
-> IO () 

runSendfileSource

Arguments

:: ByteString

sendfile header

-> Application 
-> IO ()