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.

  1. forkPingThread :: Connection -> Int -> IO ()

    websockets Network.WebSockets.Connection

    Deprecated: Use withPingThread instead

  2. pingThread :: Connection -> Int -> IO () -> IO ()

    websockets Network.WebSockets.Connection

    Use this if you want to run the ping thread yourself. See also withPingThread.

  3. withPingThread :: Connection -> Int -> IO () -> IO a -> IO a

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

  4. unsafeReadPixel :: (Pixel a, PrimMonad m) => STVector (PrimState m) (PixelBaseComponent a) -> Int -> m a

    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)

  5. unsafeReadPixel :: (Pixel a, PrimMonad m) => STVector (PrimState m) (PixelBaseComponent a) -> Int -> m 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)

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

  7. class HasReadBufferSize a

    streaming-commons Data.Streaming.Network

    Since 0.1.13

  8. class HasReadWrite a

    streaming-commons Data.Streaming.Network

    No documentation available.

  9. appRead :: HasReadWrite a => a -> IO ByteString

    streaming-commons Data.Streaming.Network

    No documentation available.

  10. getReadBufferSize :: HasReadBufferSize a => a -> Int

    streaming-commons Data.Streaming.Network

    Get buffer size used when reading from socket. Since 0.1.13

Page 479 of many | Previous | Next