libxr — developer's documentation

- Main Page
- Related Pages
- Data Structures
- Files

Libxr Overview

Libxr is a library that allows for rapid implementation of RPC clients and servers in C.

# Features

- Multiple RPC transports. (XML-RPC and JSON-RPC)
- RPC interface description language (XDL)
- Persistent connections over HTTP/1.1
- Server "session" support for non-persistent connections
- Multi-platform support (Linux, Windows, ...)
- SSLv3/TLSv1 using OpenSSL
- IPV6 as soon as OpenSSL 0.9.9 is released
- VALA language support for client interfaces
- Multiple interfaces per server

# Description

Libxr has two parts, library itself and RPC interface description language compiler (XDL compiler). Thanks to the XDL compiler, you can create and implement complex RPC interfaces in a very short time. Here is an obligatory "Hello world!" example XDL file:

namespace X;
servlet Test {
boolean sayHello()
<%
printf("Hello World!");
return TRUE;
%>
}

Whenever you call XTest.sayHello() RPC method, "Hello World!" will be printed to the server's standard output.

For more information see HOWTO tutorial, libxr API documentation or tests/ directory.

Documentation for libxr, Mon Jan 6 2014 07:32:37.