Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. data WaiMetrics

    wai-middleware-metrics Network.Wai.Metrics

    The metrics to feed in WAI and register in EKG.

  2. WaiMetrics :: Counter -> Distribution -> Counter -> Counter -> Counter -> Counter -> Counter -> WaiMetrics

    wai-middleware-metrics Network.Wai.Metrics

    No documentation available.

  3. data WaiOptions

    wai-cli Network.Wai.Cli

    No documentation available.

  4. WaiOptions :: Int -> String -> String -> String -> String -> String -> String -> Maybe Bool -> WaiOptions

    wai-cli Network.Wai.Cli

    No documentation available.

  5. waitAndCancelReadSocketSTM :: Socket -> IO (STM (), IO ())

    network Network.Socket

    STM action to wait until the socket is ready for reading and STM action to cancel the waiting.

  6. waitAndCancelWriteSocketSTM :: Socket -> IO (STM (), IO ())

    network Network.Socket

    STM action to wait until the socket is ready for writing and STM action to cancel the waiting.

  7. waitReadSocketSTM :: Socket -> IO (STM ())

    network Network.Socket

    STM action to wait until the socket is ready for reading.

  8. waitWriteSocketSTM :: Socket -> IO (STM ())

    network Network.Socket

    STM action to wait until the socket is ready for writing.

  9. wait :: String -> Int -> IO ()

    port-utils Network.Socket.Wait

    wait will attempt to connect to the given host and port repeated every 10 milliseconds until it is successful. It will throw an IOError if the host cannot be resolved. A typical use case is to call wait in test code to wait for a server to start before trying to connect. For example:

    void $ forkIO $ Warp.run 7000 app
    -- Wait for the server to start listening on the socket
    wait "127.0.0.1" 7000
    -- Communicate with the server
    
    If you would like to control the delay or understand how many connection attempts were made use waitWith. Since 0.0.0.1

  10. waitWith :: EventHandlers IO -> Int -> String -> Int -> IO ()

    port-utils Network.Socket.Wait

    Advanced usage. In most situations calling wait will suffice. This allows one to customize the delay between retries and debug the behavior of the function. wait is defined as

    wait = waitWith mempty defaultDelay
    
    Since 0.2.0.0

Page 2 of many | Previous | Next