rpclib
A library to deal with RPCs in OCaml
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
val to_string : Rpc.t -> string
val to_a :
empty:( unit -> 'a ) ->
append:( 'a -> string -> unit ) ->
Rpc.t ->
'a
val string_of_response :
?id:Rpc.t ->
?version:version ->
Rpc.response ->
string
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_response : ?id:Rpc.t -> version -> Rpc.response -> Rpc.t
val call_of_string : string -> Rpc.call
val response_of_string : ?strict:bool -> string -> Rpc.response
val response_of_in_channel : in_channel -> Rpc.response