### Method

# Rest ProxyCall set_function

#### Declaration [src]

    void
    rest_proxy_call_set_function (
      RestProxyCall* call,
      const gchar* function
    )

#### Description [src]

Set the REST “function” to call on the proxy. This is appended to the URL, so that for example a proxy with the URL <literal>http://www.example.com/</literal> and the function <literal>test</literal> would actually access the URL <literal>http://www.example.com/test</literal>.

#### Parameters

`function`

  Type: `const gchar*`

  The function to call.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.