libxrdeveloper's documentation
gboolean xr_client_set_transport ( xr_client_conn conn,
xr_call_transport  transport 
)

Set transport type.

Currently supported types are XR_CALL_XML_RPC and XR_CALL_JSON_RPC (not all xr_value types).

Parameters
connConnection object.
transportTransport type.
Returns
TRUE on success, FALSE if transport is not available.
Documentation for libxr, Tue Nov 3 2015 00:23:46.