Boost.URL

    • Quick Look
    • URLs
      • Parsing
      • Containers
      • Segments
      • Params
      • Normalization
      • String Token
      • Percent Encoding
      • Formatting
    • Customization
      • Parse Rules
      • Character Sets
      • Compound Rules
      • Ranges
      • RFC 3986
    • Examples
      • QR Code
      • Finicky
      • mailto URLs
      • Magnet Link
      • File Router
      • Router
      • Sanitizing URLs
    • Reference
    • Help Card
  • boost::urls::url_base::normalize

boost::urls::url_base::normalize

Normalize the URL components

Synopsis

Declared in <boost/url/url_base.hpp>

url_base&
normalize();

Description

Applies Syntax‐based normalization to all components of the URL.

Exception Safety

Strong guarantee. Calls to allocate may throw.

Specification

  • https://datatracker.ietf.org/doc/html/rfc3986#section-6.2.2

Return Value

*this

Created with MrDocs