[ CCode ( has_construct_function = false ) ]
public Proxy.with_authentication (string url_format, bool binding_required, string username, string password)
Create a new Proxy for the specified endpoint url_format
, using the "GET"
method.
Set binding_required
to true
if the URL contains string formatting operations (for example "http://foo.com/%s".
These must be expanded using bind before invoking the proxy.
url_format |
the endpoint URL |
binding_required |
whether the URL needs to be bound before calling |
username |
the username provided by the user or client |
password |
the password provided by the user or client |
A new Proxy. |