package rpclib

  1. Overview
  2. Docs
A library to deal with RPCs in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rpclib-10.2.0.tbz
sha256=37ec4a4dd53fcb2d38d846415d3a45976d5a78c1531e6d876db2436e947172f3
sha512=4757df16d7cf2220787e2a6532e47130049894741ae1635e017cd583f28c5e55c016768d992c6739da70b29283141070f974f246b1ef467e64b034c5c231b00a

doc/rpclib.xml/Xmlrpc/index.html

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