package rpclib

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

Install

Dune Dependency

Authors

Maintainers

Sources

rpclib-9.0.0.tbz
sha256=ce23eb756c028d9374bd19823296bddb7c237d3f055452d30d1cf7d15216e963
sha512=d4dfd7a9ee1b7996c24819ac1895925af0ad732f117c6e06cd28c215b14aa094dbd045e44d7f84c0eeb7ab807ed970d6879c29d07b02377fcb928325124ba7f6

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
OCaml

Innovation. Community. Security.