Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
settingsMaxBuilderResponseBufferSize :: Settings -> Intwarp Network.Wai.Handler.Warp.Internal Determines the maxium buffer size when sending Builder responses (See responseBuilder). When sending a builder response warp uses a 16 KiB buffer to write the builder to. When that buffer is too small to fit the builder warp will free it and create a new one that will fit the builder. To protect against allocating too large a buffer warp will error if the builder requires more than this maximum. Default: 1049_000_000 = 1 MiB. Since 3.3.22
settingsMaxTotalHeaderLength :: Settings -> Intwarp Network.Wai.Handler.Warp.Internal Determines the maximum header size that Warp will tolerate when using HTTP/1.x. Since 3.3.8
settingsMaximumBodyFlush :: Settings -> Maybe Intwarp Network.Wai.Handler.Warp.Internal See setMaximumBodyFlush. Since 3.0.3
settingsNoParsePath :: Settings -> Boolwarp Network.Wai.Handler.Warp.Internal Perform no parsing on the rawPathInfo. This is useful for writing HTTP proxies. Default: False Since 2.0.3
settingsOnClose :: Settings -> SockAddr -> IO ()warp Network.Wai.Handler.Warp.Internal What to do when a connection is close. Default: do nothing.
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