boost::urls::url_base::normalize_scheme

Normalize the URL scheme

Synopsis

Declared in <boost/url/url_base.hpp>

url_base&
normalize_scheme();

Description

Applies Syntax‐based normalization to the URL scheme.

The scheme is normalized to lowercase.

assert( url( "HTTP://www.example.com" ).normalize_scheme().buffer() == "http://www.example.com" );

Exception Safety

Strong guarantee. Calls to allocate may throw.

Return Value

*this

Created with MrDocs