cef_urlparts_t

Type Alias cef_urlparts_t 

Source
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: usize

Size of this structure.

§spec: _cef_string_utf16_t

The complete URL specification.

§scheme: _cef_string_utf16_t

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

§username: _cef_string_utf16_t

User name component.

§password: _cef_string_utf16_t

Password component.

§host: _cef_string_utf16_t

Host 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_t

Port number component.

§origin: _cef_string_utf16_t

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.

§path: _cef_string_utf16_t

Path component including the first slash following the host.

§query: _cef_string_utf16_t

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

§fragment: _cef_string_utf16_t

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