Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
brReadSome :: BodyReader -> Int -> IO ByteStringhttp-client Network.HTTP.Client Continuously call brRead, building up a lazy ByteString until a chunk is constructed that is at least as many bytes as requested. Since 0.4.20
type
BodyReader = IO ByteStringhttp-client Network.HTTP.Client.Internal An IO action that represents an incoming response body coming from the server. Data provided by this action has already been gunzipped and de-chunked, and respects any content-length headers present. The action gets a single chunk of data from the response body, or an empty bytestring if no more data is available. Since 0.4.0
brRead :: BodyReader -> IO ByteStringhttp-client Network.HTTP.Client.Internal Get a single chunk of data from the response body, or an empty bytestring if no more data is available. Note that in order to consume the entire request body, you will need to repeatedly call this function until you receive an empty ByteString as a result. Since 0.1.0
brReadSome :: BodyReader -> Int -> IO ByteStringhttp-client Network.HTTP.Client.Internal Continuously call brRead, building up a lazy ByteString until a chunk is constructed that is at least as many bytes as requested. Since 0.4.20
connectionRead :: Connection -> IO ByteStringhttp-client Network.HTTP.Client.Internal If no more data, return empty.
connectionReadLine :: Maybe MaxHeaderLength -> Connection -> IO ByteStringhttp-client Network.HTTP.Client.Internal No documentation available.
connectionReadLineWith :: Maybe MaxHeaderLength -> Connection -> ByteString -> IO ByteStringhttp-client Network.HTTP.Client.Internal No documentation available.
connectionUnread :: Connection -> ByteString -> IO ()http-client Network.HTTP.Client.Internal Return data to be read next time.
connectionUnreadLine :: Connection -> ByteString -> IO ()http-client Network.HTTP.Client.Internal No documentation available.
constBodyReader :: [ByteString] -> IO BodyReaderhttp-client Network.HTTP.Client.Internal No documentation available.