Module Mirage_flow_unix.Make

Parameters

module F : Mirage_flow.S

Signature

val ic : ?buffer_size:int -> ?close:bool -> F.flow -> Lwt_io.input_channel

Build an Lwt_io input channel from a mirage flow. If close is omitted, the mirage flow will be closed when the input channel is closed.

val oc : ?buffer_size:int -> ?close:bool -> F.flow -> Lwt_io.output_channel

Build an Lwt_io output channel from a mirage flow. If close is omitted, the mirage flow will not be closed when the output channel is closed.