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, Wed Apr 27 2016 22:07:49.