boost::urls::url_base::normalize :: Boost Libraries Documentation

# 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