Chromium Embedded Framework (CEF)  122.1.5+gf09a9bc+chromium-122.0.6261.29
cef_urlparts_t Struct Reference

URL component parts. More...

#include "include/internal/cef_types.h"

Public Attributes

cef_string_t spec
 The complete URL specification. More...
 
cef_string_t scheme
 Scheme component not including the colon (e.g., "http"). More...
 
cef_string_t username
 User name component. More...
 
cef_string_t password
 Password component. More...
 
cef_string_t host
 Host component. More...
 
cef_string_t port
 Port number component. More...
 
cef_string_t origin
 Origin contains just the scheme, host, and port from a URL. More...
 
cef_string_t path
 Path component including the first slash following the host. More...
 
cef_string_t query
 Query string component (i.e., everything following the '?'). More...
 
cef_string_t fragment
 Fragment (hash) identifier component (i.e., the string following the '#'). More...
 

Detailed Description

URL component parts.

Member Data Documentation

◆ fragment

cef_string_t cef_urlparts_t::fragment

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

◆ host

cef_string_t cef_urlparts_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 cef_urlparts_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 cef_urlparts_t::password

Password component.

◆ path

cef_string_t cef_urlparts_t::path

Path component including the first slash following the host.

◆ port

cef_string_t cef_urlparts_t::port

Port number component.

◆ query

cef_string_t cef_urlparts_t::query

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

◆ scheme

cef_string_t cef_urlparts_t::scheme

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

◆ spec

cef_string_t cef_urlparts_t::spec

The complete URL specification.

◆ username

cef_string_t cef_urlparts_t::username

User name component.


The documentation for this struct was generated from the following file: