GLib.Uri – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
Uri
RESERVED_CHARS_ALLOWED_IN_PATH
RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT
RESERVED_CHARS_ALLOWED_IN_USERINFO
RESERVED_CHARS_GENERIC_DELIMITERS
RESERVED_CHARS_SUBCOMPONENT_DELIMITERS
escape_string
list_extract_uris
parse_scheme
unescape_segment
unescape_string
GLib.Uri
Description:
Content:
Constants:
public
const
unowned
string
RESERVED_CHARS_ALLOWED_IN_PATH
public
const
unowned
string
RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT
public
const
unowned
string
RESERVED_CHARS_ALLOWED_IN_USERINFO
public
const
unowned
string
RESERVED_CHARS_GENERIC_DELIMITERS
Generic delimiters characters as defined in RFC 3986.
public
const
unowned
string
RESERVED_CHARS_SUBCOMPONENT_DELIMITERS
Subcomponent delimiter characters as defined in RFC 3986.
Functions:
public
string
?
parse_scheme
(
string
uri)
Gets the scheme portion of a URI string.
public
string
escape_string
(
string
unescaped,
string
? reserved_chars_allowed =
null
,
bool
allow_utf8 =
true
)
Escapes a string for use in a URI.
public
string
?
unescape_string
(
string
escaped_string,
string
? illegal_characters =
null
)
Unescapes a whole escaped string.
public
string
?
unescape_segment
(
string
? escaped_string,
string
? escaped_string_end,
string
? illegal_characters =
null
)
Unescapes a segment of an escaped string.
public
string
[]
list_extract_uris
(
string
uri_list)
Splits an URI list conforming to the text/uri-list mime type defined in RFC 2483 into individual URIs, discarding any comments.