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::static_url::normalize_scheme

boost::urls::static_url::normalize_scheme

Normalize the URL scheme

Synopsis

Declared in <boost/url/static_url.hpp>

static_url&
normalize_scheme();

Description

Applies Syntax‐based normalization to the URL scheme.

The scheme is normalized to lowercase.

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