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
connConnection object.
nameHTTP header name.
valueHTTP header value. Value is not escaped and thus it should not span multiple lines.
Documentation for libxr, Wed Apr 27 2016 22:07:49.