Xmlrpc
val to_string : ?strict:bool -> Rpc.t -> string
val to_a :
?strict:bool ->
empty:( unit -> 'a ) ->
append:( 'a -> string -> unit ) ->
Rpc.t ->
'a
val string_of_call : ?strict:bool -> Rpc.call -> string
val string_of_response : ?strict:bool -> Rpc.response -> string
val a_of_response :
?strict:bool ->
empty:( unit -> 'a ) ->
append:( 'a -> string -> unit ) ->
Rpc.response ->
'a
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).
val response_of_fault :
?callback:( string list -> Rpc.t -> unit ) ->
?base64_decoder:( string -> string ) ->
Xmlm.input ->
Rpc.response
val response_of_success :
?callback:( string list -> Rpc.t -> unit ) ->
?base64_decoder:( string -> string ) ->
Xmlm.input ->
Rpc.response
val response_of_input :
?callback:( string list -> Rpc.t -> unit ) ->
?base64_decoder:( string -> string ) ->
Xmlm.input ->
Rpc.response
val response_of_string :
?callback:( string list -> Rpc.t -> unit ) ->
?base64_decoder:( string -> string ) ->
string ->
Rpc.response
val response_of_in_channel :
?callback:( string list -> Rpc.t -> unit ) ->
?base64_decoder:( string -> string ) ->
Stdlib.in_channel ->
Rpc.response