Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. waitSocketVerboseFormat :: forall e m . (MonadIO m, MonadMask m, Exception e) => (Bool -> e -> RetryStatus -> m ()) -> RetryPolicyM m -> AddrInfo -> m Socket

    network-wait Network.Wait

    waitSocketVerboseFormat outputHandler retryPolicy addrInfo is a variant of waitSocketWith which installs an extra handler based on logRetries which passes status information for each retry attempt to outputHandler.

  2. waitSocketWith :: (MonadIO m, MonadMask m) => [RetryStatus -> Handler m Bool] -> RetryPolicyM m -> AddrInfo -> m Socket

    network-wait Network.Wait

    waitSocketWith extraHandlers retryPolicy addrInfo will attempt to connect to addrInfo. If the connection fails, retryPolicy is used to determine whether (and how often) this function should attempt to retry establishing the connection. By default, this function will retry after all exceptions (except for those given by skipAsyncExceptions). This behaviour may be customised with extraHandlers which are installed after skipAsyncExceptions, but before the default exception handler. The extraHandlers may also be used to report retry attempts to e.g. the standard output or a logger.

  3. waitTcp :: (MonadIO m, MonadMask m) => RetryPolicyM m -> HostName -> ServiceName -> m Socket

    network-wait Network.Wait

    waitTcp retryPolicy hostName serviceName is a variant of waitTcpWith which does not install any additional handlers.

    waitTcp retryPolicyDefault "localhost" "80"
    

  4. waitTcpVerbose :: (MonadIO m, MonadMask m) => (String -> m ()) -> RetryPolicyM m -> HostName -> ServiceName -> m Socket

    network-wait Network.Wait

    waitTcpVerbose outputHandler retryPolicy addrInfo is a variant of waitTcpVerboseFormat which catches all exceptions derived from SomeException and formats retry attempt information using defaultLogMsg before passing the resulting String to out.

    waitTcpVerbose putStrLn retryPolicyDefault "localhost" "80"
    

  5. waitTcpVerboseFormat :: forall e m . (MonadIO m, MonadMask m, Exception e) => (Bool -> e -> RetryStatus -> m ()) -> RetryPolicyM m -> HostName -> ServiceName -> m Socket

    network-wait Network.Wait

    waitTcpVerboseFormat outputHandler retryPolicy addrInfo is a variant of waitTcpWith which installs an extra handler based on logRetries which passes status information for each retry attempt to outputHandler.

    waitTcpVerboseFormat @SomeException
    (\b ex st -> putStrLn $ defaultLogMsg b ex st)
    retryPolicyDefault "localhost" "80"
    

  6. waitTcpWith :: (MonadIO m, MonadMask m) => [RetryStatus -> Handler m Bool] -> RetryPolicyM m -> HostName -> ServiceName -> m Socket

    network-wait Network.Wait

    waitTcpWith extraHandlers retryPolicy hostName serviceName is a variant of waitSocketWith which constructs a suitable AddrInfo value for a TCP socket from hostName and serviceName.

  7. waitSerialized :: Serialize a => Socket -> IO a

    socks Network.Socks5.Lowlevel

    No documentation available.

  8. waitRequestHandler :: Config -> Bool

    network-messagepack-rpc Network.MessagePack.RPC.Client

    No documentation available.

  9. waiMain :: (WaiOptions -> IO ()) -> (WaiOptions -> IO ()) -> Application -> IO ()

    wai-cli Network.Wai.Cli

    No documentation available.

  10. pattern MSG_WAITALL :: MsgFlag

    network Network.Socket

    Wait until the requested number of bytes have been read.

Page 6 of many | Previous | Next