我正在尝试使用 network-conduit作为(修补的)HaskellNet 的后端 IMAP 。如何强制管道冲洗水流?这是required operation ,但是network-conduit中好像没有这个东西。
最佳答案
network-conduit 应该在每次发送 ByteString
时刷新流。 ,特别不包括缓冲,因为它将由类似 blaze-builder-conduit
的东西处理。正交。您是否看到了与此相矛盾的行为?
关于haskell - 使用网络管道时如何刷新网络流?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17923194/