Uri.newWithBase

Like Uri.new, but joins the new URI onto a base URI.

class Uri
newWithBase
(
string scheme
,
string userinfo
,
string host
,
uint port
,
string path
,
string query
,
string fragment
)

Parameters

scheme string

The scheme for the new URI.

userinfo string

The user-info for the new URI.

host string

The host name for the new URI.

port uint

The port number for the new URI or GST_URI_NO_PORT.

path string

The path for the new URI with '/' separating path elements.

query string

The query string for the new URI with '&' separating query elements. Elements containing '&' characters should encode them as "%26".

fragment string

The fragment name for the new URI.

Return Value

Type: Uri

The new URI joined onto base.

Meta