Question

I'm trying to use network-conduit as a backend for (patched) HaskellNet's IMAP. How can I force the conduit to flush the stream? This is a required operation, but it seems there is no such thing in network-conduit.

Was it helpful?

Solution

network-conduit should flush the stream every time you send it a ByteString, buffering is specifically not included as that would be handled by something like blaze-builder-conduit orthogonally. Are you seeing behavior which contradicts that?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top