The OpenD Programming Language

cef_urlparts_t

URL component parts.

Members

Variables

fragment
cef_string_t fragment;

Fragment (hash) identifier component (i.e., the string following the '#').

host
cef_string_t host;

Host component. This may be a hostname, an IPv4 address or an IPv6 literal surrounded by square brackets (e.g., "[2001:db8::1]").

origin
cef_string_t origin;

Origin contains just the scheme, host, and port from a URL. Equivalent to clearing any username and password, replacing the path with a slash, and clearing everything after that. This value will be empty for non-standard URLs.

password
cef_string_t password;

Password component.

path
cef_string_t path;

Path component including the first slash following the host.

port
cef_string_t port;

Port number component.

query
cef_string_t query;

Query string component (i.e., everything following the '?').

scheme
cef_string_t scheme;

Scheme component not including the colon (e.g., "http").

spec
cef_string_t spec;

The complete URL specification.

username
cef_string_t username;

User name component.

Meta