Module XmlrpcSource

Sourceval encode : string -> string
Sourceval to_string : ?strict:bool -> Rpc.t -> string
Sourceval to_a : ?strict:bool -> empty:(unit -> 'a) -> append:('a -> string -> unit) -> Rpc.t -> 'a
  • deprecated
Sourceval string_of_call : ?strict:bool -> Rpc.call -> string
Sourceval string_of_response : ?strict:bool -> Rpc.response -> string
Sourceval a_of_response : ?strict:bool -> empty:(unit -> 'a) -> append:('a -> string -> unit) -> Rpc.response -> 'a
  • deprecated
Sourceexception Parse_error of string * string * Xmlm.input

The parsing functions make it possible to specify the routine used to decode base64 values. The default is to use Base64.decode_exn which strictly interprets the standard. A different function will be required if the XMLRPC server inserts line breaks into the base64 encoding (as per RFC2045).

Sourceval pretty_string_of_error : string -> string -> Xmlm.input -> string
Sourceval parse_error : string -> string -> Xmlm.input -> unit
Sourceval of_string : ?callback:(string list -> Rpc.t -> unit) -> ?base64_decoder:(string -> string) -> string -> Rpc.t
Sourceval of_a : ?callback:(string list -> Rpc.t -> unit) -> ?base64_decoder:(string -> string) -> next_char:('b -> char option) -> 'b -> Rpc.t
  • deprecated
Sourceval call_of_string : ?callback:(string list -> Rpc.t -> unit) -> ?base64_decoder:(string -> string) -> string -> Rpc.call
Sourceval response_of_fault : ?callback:(string list -> Rpc.t -> unit) -> ?base64_decoder:(string -> string) -> Xmlm.input -> Rpc.response
Sourceval response_of_success : ?callback:(string list -> Rpc.t -> unit) -> ?base64_decoder:(string -> string) -> Xmlm.input -> Rpc.response
Sourceval response_of_input : ?callback:(string list -> Rpc.t -> unit) -> ?base64_decoder:(string -> string) -> Xmlm.input -> Rpc.response
Sourceval response_of_string : ?callback:(string list -> Rpc.t -> unit) -> ?base64_decoder:(string -> string) -> string -> Rpc.response
Sourceval response_of_in_channel : ?callback:(string list -> Rpc.t -> unit) -> ?base64_decoder:(string -> string) -> in_channel -> Rpc.response