boost::urls::encoding_opts::encoding_opts

Constructs an encoding_opts object with the specified options.

Synopsis

Declared in <boost/url/encoding_opts.hpp>

constexpr
encoding_opts(
    bool const space_as_plus = false,
    bool const lower_case = false,
    bool const disallow_null = false) noexcept;

Parameters

NameDescription
space_as_plusIf true, spaces will be encoded as plus signs.
lower_caseIf true, hexadecimal digits will be emitted as lower case.
disallow_nullIf true, null characters will not be allowed.