Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
forkPingThread :: Connection -> Int -> IO ()websockets Network.WebSockets.Connection Deprecated: Use withPingThread instead
pingThread :: Connection -> Int -> IO () -> IO ()websockets Network.WebSockets.Connection Use this if you want to run the ping thread yourself. See also withPingThread.
withPingThread :: Connection -> Int -> IO () -> IO a -> IO awebsockets Network.WebSockets.Connection Forks a ping thread, sending a ping message every n seconds over the connection. The thread is killed when the inner IO action is finished. This is useful to keep idle connections open through proxies and whatnot. Many (but not all) proxies have a 60 second default timeout, so based on that sending a ping every 30 seconds is a good idea. Note that usually you want to use withPingPong to timeout the connection if a pong is not received.
-
JuicyPixels Codec.Picture Unsafe version of readPixel, read a pixel at the given position without bound checking (if possible). The index is expressed in number (PixelBaseComponent a)
-
JuicyPixels Codec.Picture.Types Unsafe version of readPixel, read a pixel at the given position without bound checking (if possible). The index is expressed in number (PixelBaseComponent a)
module Data.Streaming.
FileRead The standard openFile call on Windows causing problematic file locking in some cases. This module provides a cross-platform file reading API without the file locking problems on Windows. This module always opens files in binary mode. readChunk will return an empty ByteString on EOF.
-
streaming-commons Data.Streaming.Network Since 0.1.13
-
streaming-commons Data.Streaming.Network No documentation available.
appRead :: HasReadWrite a => a -> IO ByteStringstreaming-commons Data.Streaming.Network No documentation available.
getReadBufferSize :: HasReadBufferSize a => a -> Intstreaming-commons Data.Streaming.Network Get buffer size used when reading from socket. Since 0.1.13