Skip to main content

Module url

Module url 

Source
Expand description

URL parsing (RFC 3986 compliant). Pure-Rust, always present (no TLS deps). URL types live in azul_core::url; re-exported so azul_layout::url::* keeps resolving. Url::parse/join are enabled via the http feature (which turns on azul-core/url). URL POD type (Url/UrlParseError); parsing gated behind the url feature. URL types for the C API.

Provides a C-compatible, parsed-URL type. Key types: [Url], [UrlParseError], [ResultUrlUrlParseError].

The POD type and the cheap accessors live here in azul-core (so consumers like crate::video::VideoSource can hold a typed Url without an azul-layout dependency). Url::parse / Url::join, which rely on the url crate, are gated behind the url feature; azul_layout’s http feature enables it. Re-exported as azul_layout::url.

Structs§

Url
A parsed URL
UrlParseError
Error when parsing a URL

Enums§

ResultUrlUrlParseError