Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
settingsOnException :: Settings -> Maybe Request -> SomeException -> IO ()warp Network.Wai.Handler.Warp.Internal What to do with exceptions thrown by either the application or server. Default: ignore server-generated exceptions (see InvalidRequest) and print application-generated applications to stderr.
settingsOnExceptionResponse :: Settings -> SomeException -> Responsewarp Network.Wai.Handler.Warp.Internal A function to create Response when an exception occurs. Default: 500, text/plain, "Something went wrong" Since 2.0.3
settingsOnOpen :: Settings -> SockAddr -> IO Boolwarp Network.Wai.Handler.Warp.Internal What to do when a connection is open. When False is returned, the connection is closed immediately. Otherwise, the connection is going on. Default: always returns True.
settingsPort :: Settings -> Portwarp Network.Wai.Handler.Warp.Internal Port to listen on. Default value: 3000
settingsProxyProtocol :: Settings -> ProxyProtocolwarp Network.Wai.Handler.Warp.Internal Specify usage of the PROXY protocol. Since 3.0.5
settingsServerName :: Settings -> ByteStringwarp Network.Wai.Handler.Warp.Internal Default server name if application does not set one. Since 3.0.2
settingsServerPushLogger :: Settings -> Request -> ByteString -> Integer -> IO ()warp Network.Wai.Handler.Warp.Internal A HTTP/2 server push log function. Default: no action. Since 3.2.7
settingsSlowlorisSize :: Settings -> Intwarp Network.Wai.Handler.Warp.Internal Size of bytes read to prevent Slowloris protection. Default value: 2048 Since 3.1.2
settingsTimeout :: Settings -> Intwarp Network.Wai.Handler.Warp.Internal Timeout value in seconds. Default value: 30
setInput :: MonadParsec e s m => s -> m ()megaparsec Text.Megaparsec setInput input continues parsing with input.