http-monad-0.1.0.2: Monad abstraction for HTTP allowing lazy transfer and non-I/O simulation

Safe HaskellNone

Network.Monad.Transfer.ChunkyLazyIO

Documentation

class C body => Body body whereSource

Methods

length :: body -> IntSource

Instances

transferSource

Arguments

:: (HStream body, Body body) 
=> Int

chunk size, only relevant for readBlock.

-> HandleStream body 
-> T T body 

runSource

Arguments

:: (HStream body, Body body) 
=> T body T a

dictionary for read and write methods

-> Int

chunk size

-> HandleStream body 
-> IO a