Method

RestOAuthProxynew_echo_proxy

Declaration [src]

RestProxy*
oauth_proxy_new_echo_proxy (
  OAuthProxy* proxy,
  const char* service_url,
  const gchar* url_format,
  gboolean binding_required
)

Description [src]

Create a new OAuth Echo proxy.

Parameters

service_url

Type: const char*

The service URL.

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

Type: const gchar*

The URL format.

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

Type: gboolean

Whether a binding is required.

Return value

Type: RestProxy

A new OAuth Echo proxy.

The caller of the method takes ownership of the data, and is responsible for freeing it.