質問

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.

役に立ちましたか?

解決

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?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top