Expand description
URL processing and canonicalization for Google Safe Browsing API
This crate provides URL processing and canonicalization functions used by the Safe Browsing API. It handles URL normalization, host extraction, and pattern generation for URL lookups.
Structs§
- Canonical
Url - Information about a canonicalized URL
Enums§
- UrlError
- Error type for URL operations
Functions§
- canonicalize_
url - Canonicalize a URL according to the Safe Browsing specification
- extract_
domain - Extract the domain from a URL
- generate_
patterns - Generate URL patterns for lookup in the Safe Browsing database
- validate_
url - Check if a URL string is potentially valid
Type Aliases§
- Result
- Result type for URL operations