Jay McCarthy <jay@racket-lang.org>
This package is based on the XML-RPC package by Matt Jadud and Noel Welsh of Untyped
This library implements the XML-RPC protocol, a popular protocol for interface to Internet services such as blog engines, as specified at http://www.xmlrpc.com/spec.
The client library provides a few forms for defining servers and their supported endpoints.
procedure
(( xml-rpc-server url)method)→procedure?
url:url?method:symbol?
This example calls the examples.getStateName method on the server betty.userland.com:
> (get-state-name42)tcp-connect: host not found
hostname: betty.userland.com
port number: 80
system error: Temporary failure in name resolution;
gai_err=-3
The server library provides
procedure
( make-handle-xml-rpc exports)→(request? . -> .response/c)
(math.add34))
struct
(struct exn:xml-rpc exn (messagecontinuation-marks))
message:string?continuation-marks:continuation-mark-set?
A subtype of exn , this exception is raised whenever the XML-RPC library encounters an error.
struct
continuation-markscode))message:string?continuation-marks:continuation-mark-set?code:integer?