URL
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "camel_url_get_type ()" ) ]
[ Compact ]
public class URL
[ Compact ]
public class URL
Namespace: Camel
Package: camel-1.2
Content:
Static methods:
- public static bool addrspec_end (string @in, string pos, string inend, UrlMatch match)
- public static bool addrspec_start (string @in, string pos, string inend, UrlMatch match)
- public static void decode (string part)
- public static string decode_path (string path)
- public static string encode (string part, string? escape_extra)
- public static bool file_end (string @in, string pos, string inend, UrlMatch match)
- public static bool file_start (string @in, string pos, string inend, UrlMatch match)
- public static bool web_end (string @in, string pos, string inend, UrlMatch match)
- public static bool web_start (string @in, string pos, string inend, UrlMatch match)
Creation methods:
Methods:
- public URL copy ()
Copy a URL.
- public bool equal (URL u2)
- public void free ()
Frees this.
- public unowned string? get_param (string name)
Get the value of the specified param on the URL.
- public uint hash ()
- public URL new_with_base (string url_string)
Parses
url_string
relative to this . - public void set_authmech (string authmech)
Set the authmech of a URL.
- public void set_fragment (string fragment)
Set the fragment of a URL.
- public void set_host (string host)
Set the hostname of a URL.
- public void set_param (string name, string value)
Set a param on the URL.
- public void set_path (string path)
Set the path component of a URL.
- public void set_port (int port)
Set the port on a URL.
- public void set_protocol (string protocol)
Set the protocol of a URL.
- public void set_query (string query)
Set the query of a URL.
- public void set_user (string user)
Set the user of a URL.
- public string to_string (URLFlags flags)
Flatten a URL into a string.