boost::urls::url::normalize_scheme :: Boost Libraries Documentation

# boost::urls::url::normalize_scheme

Normalize the URL scheme

## Synopsis

Declared in `<boost/url/url.hpp>`

    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