Module Jsonrpc2_lwt.IO_lwt
val return : 'a -> 'a t
module Infix : sig ... end
module Future : Jsonrpc2__.Jsonrpc2_intf.FUTURE with type 'a wait = 'a t and type 'a t = 'a Lwt.t and type 'a promise = 'a Lwt.u
val read_line : in_channel -> (string, exn) Pervasives.result t
Read a full line, including the trailing '\n'
val read_exact : in_channel -> bytes -> int -> (unit, exn) Pervasives.result t
read_exact ic buf n
reads exactlyn
bytes intobuf
, starting at index 0.
val write_string : out_channel -> string -> (unit, exn) Pervasives.result t
write to the channel.