
3 Apr
2012
3 Apr
'12
2:07 p.m.
Hello, 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? Cheers, --Kazu