pub type cef_urlparts_t = _cef_urlparts_t;Expand description
URL component parts.
Aliased Type§
#[repr(C)]pub struct cef_urlparts_t {
pub size: usize,
pub spec: _cef_string_utf16_t,
pub scheme: _cef_string_utf16_t,
pub username: _cef_string_utf16_t,
pub password: _cef_string_utf16_t,
pub host: _cef_string_utf16_t,
pub port: _cef_string_utf16_t,
pub origin: _cef_string_utf16_t,
pub path: _cef_string_utf16_t,
pub query: _cef_string_utf16_t,
pub fragment: _cef_string_utf16_t,
}Fields§
§size: usizeSize of this structure.
spec: _cef_string_utf16_tThe complete URL specification.
scheme: _cef_string_utf16_tScheme component not including the colon (e.g., “http”).
username: _cef_string_utf16_tUser name component.
password: _cef_string_utf16_tPassword component.
host: _cef_string_utf16_tHost component. This may be a hostname, an IPv4 address or an IPv6 literal surrounded by square brackets (e.g., “[2001:db8::1]”).
port: _cef_string_utf16_tPort number component.
origin: _cef_string_utf16_tOrigin 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.
path: _cef_string_utf16_tPath component including the first slash following the host.
query: _cef_string_utf16_tQuery string component (i.e., everything following the ‘?’).
fragment: _cef_string_utf16_tFragment (hash) identifier component (i.e., the string following the ‘#’).