Function
Soupuri_copy
Declaration [src]
GUri*
soup_uri_copy (
  GUri* uri,
  SoupURIComponent first_component,
  ...
)
      Description [src]
As of 3.4.0 this will detect the default ports of HTTP(s) and WS(S)
URIs when copying and set it to the default port of the new scheme.
So for example copying http://localhost:80 while changing the scheme to https
will result in https://localhost:443.
Return a copy of uri with the given components updated.
This function is not directly available to language bindings.
Parameters
uri- 
            
Type:
GUriThe
GUrito copy.The data is owned by the caller of the function.  first_component- 
            
Type:
SoupURIComponentFirst
SoupURIComponentto update. ...- 
            
Type:
Value of
first_componentfollowed by additional components and values, terminated bySOUP_URI_NONE. 
Return value
Type: GUri
A new GUri.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |