Module Xs_protocol.PacketStream

Parameters

module IO : IO

Signature

type stream
val make : IO.channel -> stream
val recv : stream -> (t, exn) result IO.t
val send : stream -> t -> unit IO.t