Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
streamly Streamly.Internal.Network.Socket Deprecated: Please use chunkReaderWith instead
readWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Socket -> Stream m Word8streamly Streamly.Internal.Network.Socket Generate a byte stream from a socket using a buffer of the given size. Pre-release
readWithBufferOf :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Socket) Word8streamly Streamly.Internal.Network.Socket Deprecated: Please use readerWith instead
reader :: forall (m :: Type -> Type) . MonadIO m => Unfold m Socket Word8streamly Streamly.Internal.Network.Socket Unfolds a Socket into a byte stream. IO requests to the socket are performed in sizes of defaultChunkSize.
readerWith :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Socket) Word8streamly Streamly.Internal.Network.Socket Unfolds the tuple (bufsize, socket) into a byte stream, read requests to the socket are performed using buffers of bufsize.
readChunk :: Int -> Socket -> IO (Array Word8)streamly Streamly.Network.Socket Deprecated: Please use getChunk instead
readChunks :: forall (m :: Type -> Type) . MonadIO m => Socket -> Stream m (Array Word8)streamly Streamly.Network.Socket Read a stream of byte arrays from a socket. The maximum size of a single array is limited to defaultChunkSize.
>>> readChunks = Socket.readChunksWith defaultChunkSize
Pre-releasereadChunksWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Socket -> Stream m (Array Word8)streamly Streamly.Network.Socket readChunksWith bufsize socket reads a stream of arrays from socket. The maximum size of a single array is limited to bufsize. Pre-release
-
streamly Streamly.Network.Socket Deprecated: Please use chunkReaderWith instead
readWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Socket -> Stream m Word8streamly Streamly.Network.Socket Generate a byte stream from a socket using a buffer of the given size. Pre-release