[web-devel] wai and conduit 0.4 for proxy

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Tue Apr 3 16:07:01 CEST 2012


I'm trying to catch up conduit 0.4. To pass requestBody of Request to
ResponseSource of Response, we need to convert types as follows:

Source (ResourceT IO) ByteString -> Source (ResourceT IO) (Flush Builder)

The way which I could find is:

     src $= CL.map (Chunk . byteStringToBuilder)

Is this a right way? Or, is there another proper way?



More information about the web-devel mailing list