libxrdeveloper's documentation
void xr_http_setup_request ( xr_http http,
const char *  method,
const char *  resource,
const char *  host 
)

Setup outgoing request.

Parameters:
http HTTP transport object.
method HTTP method name (GET/POST).
resource HTTP resource value.
host Host header value.
Documentation for libxr, Sun Nov 28 2010 15:55:04.