libxrdeveloper's documentation
void xr_client_set_http_header ( xr_client_conn conn,
const char *  name,
const char *  value 
)

Set HTTP header to be used in RPCs.

This setting persists until you remove header by passing NULL value or by calling xr_client_reset_http_headers().

Parameters:
conn Connection object.
name HTTP header name.
value HTTP header value. Value is not escaped and thus it should not span multiple lines.
Documentation for libxr, Sun Nov 28 2010 15:53:36.