package rpc

  1. Overview
  2. Docs
val encode : string -> string
val to_string : Rpc.t -> string
val to_a : empty:(unit -> 'a) -> append:('a -> string -> unit) -> Rpc.t -> 'a
val string_of_call : Rpc.call -> string
val string_of_response : Rpc.response -> string
val a_of_response : empty:(unit -> 'a) -> append:('a -> string -> unit) -> Rpc.response -> 'a
exception Parse_error of string * string * Xmlm.input
val pretty_string_of_error : string -> string -> Xmlm.input -> string
val parse_error : string -> string -> Xmlm.input -> unit
val of_string : ?callback:(string list -> Rpc.t -> unit) -> string -> Rpc.t
val of_a : ?callback:(string list -> Rpc.t -> unit) -> next_char:('b -> char) -> 'b -> Rpc.t
val call_of_string : ?callback:(string list -> Rpc.t -> unit) -> string -> Rpc.call
val response_of_fault : ?callback:(string list -> Rpc.t -> unit) -> Xmlm.input -> Rpc.response
val response_of_success : ?callback:(string list -> Rpc.t -> unit) -> Xmlm.input -> Rpc.response
val response_of_input : ?callback:(string list -> Rpc.t -> unit) -> Xmlm.input -> Rpc.response
val response_of_string : ?callback:(string list -> Rpc.t -> unit) -> string -> Rpc.response
val response_of_in_channel : ?callback:(string list -> Rpc.t -> unit) -> Pervasives.in_channel -> Rpc.response
OCaml

Innovation. Community. Security.