Pergunta

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.

Foi útil?

Solução

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?

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top