val new_id : unit -> int64
val to_buffer : Rpc.t -> Stdlib.Buffer.t -> unit
val to_string : Rpc.t -> string
val to_a :
empty:( unit -> 'a ) ->
append:( 'a -> string -> unit ) ->
Rpc.t ->
'a
val of_string : ?strict:bool -> string -> Rpc.t
val of_a : next_char:( 'a -> char option ) -> 'a -> Rpc.t
val a_of_response :
?id:Rpc.t ->
?version:version ->
empty:( unit -> 'a ) ->
append:( 'a -> string -> unit ) ->
Rpc.response ->
'a
val json_of_error_object : ?data:Rpc.t option -> int64 -> string -> Rpc.t
val get : string -> (string * 'a) list -> 'a
val response_of_string : ?strict:bool -> string -> Rpc.response
val response_of_in_channel : Stdlib.in_channel -> Rpc.response