Module Jsonrpc2_sync.IO_sync
val return : 'a -> 'a t
module Infix : sig ... end
module Future : Jsonrpc2__.Jsonrpc2_intf.FUTURE with type 'a wait = 'a t
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.