get_uri


Description:

public unowned string get_uri ()

Returns the current active URI of this.

The active URI might change during a load operation:

  1. When the resource load starts, the active URI is the requested URI
  2. When the initial request is sent to the server, sent_request signal is emitted without a redirected response, the active URI is the URI of the request sent to the server.
  3. In case of a server redirection, sent_request signal is emitted again with a redirected response, the active URI is the URI the request was redirected to.
  4. When the response is received from the server, the active URI is the final one and it will not change again.

You can monitor the active URI by connecting to the notify:uri signal of this.

Parameters:

this

a WebResource

Returns:

the current active URI of this