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.
-
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.
-
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.
waitTcp :: (MonadIO m, MonadMask m) => RetryPolicyM m -> HostName -> ServiceName -> m Socketnetwork-wait Network.Wait waitTcp retryPolicy hostName serviceName is a variant of waitTcpWith which does not install any additional handlers.
waitTcp retryPolicyDefault "localhost" "80"
-
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"
-
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"
-
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.
waitSerialized :: Serialize a => Socket -> IO asocks Network.Socks5.Lowlevel No documentation available.
waitRequestHandler :: Config -> Boolnetwork-messagepack-rpc Network.MessagePack.RPC.Client No documentation available.
waiMain :: (WaiOptions -> IO ()) -> (WaiOptions -> IO ()) -> Application -> IO ()wai-cli Network.Wai.Cli No documentation available.
pattern
MSG_WAITALL :: MsgFlagnetwork Network.Socket Wait until the requested number of bytes have been read.