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.

  1. settingsMaxBuilderResponseBufferSize :: Settings -> Int

    warp 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

  2. settingsMaxTotalHeaderLength :: Settings -> Int

    warp Network.Wai.Handler.Warp.Internal

    Determines the maximum header size that Warp will tolerate when using HTTP/1.x. Since 3.3.8

  3. settingsMaximumBodyFlush :: Settings -> Maybe Int

    warp Network.Wai.Handler.Warp.Internal

    See setMaximumBodyFlush. Since 3.0.3

  4. settingsNoParsePath :: Settings -> Bool

    warp Network.Wai.Handler.Warp.Internal

    Perform no parsing on the rawPathInfo. This is useful for writing HTTP proxies. Default: False Since 2.0.3

  5. settingsOnClose :: Settings -> SockAddr -> IO ()

    warp Network.Wai.Handler.Warp.Internal

    What to do when a connection is close. Default: do nothing.

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

  7. settingsOnExceptionResponse :: Settings -> SomeException -> Response

    warp 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

  8. settingsOnOpen :: Settings -> SockAddr -> IO Bool

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

  9. settingsPort :: Settings -> Port

    warp Network.Wai.Handler.Warp.Internal

    Port to listen on. Default value: 3000

  10. settingsProxyProtocol :: Settings -> ProxyProtocol

    warp Network.Wai.Handler.Warp.Internal

    Specify usage of the PROXY protocol. Since 3.0.5

Page 155 of many | Previous | Next