XML-RPC type |
IDL type |
Ocaml type |
Notes |
|
unit |
unit |
Not in XML-RPC. See explanation below. |
boolean |
bool |
bool |
|
string |
string |
string |
|
double |
float |
float |
|
dateTime.iso8601 |
datetime |
string |
I need to write functions to handle this kind of timestamp. |
base64 |
base64 |
string |
This will encode and decode the data for you. |
base64 |
rawbase64 |
string |
Does not encode or decode the data. |
int or i4 |
int |
int |
XML-RPC requires 32-bit integers, which ocaml ints aren't! |
int or i4 |
int32 |
int32 |
When you need full-sized XML-RPC ints. |
struct |
struct |
XmlRPCTypes.xrs |
You have to use low-level accessors for structs.. See section 5.3 |
|
raw |
XmlRPCTypes.t |
For using a XML-RPC type directly |
array |
X array |
X array |
X is any of the above types. |
array |
raw array |
XmlRPCTypes.t |
You have to use the low-level stuff for arrays of aggregate type. |