[#boost-urls-encoding_opts-2constructor]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/encoding_opts.adoc[encoding&lowbar;opts]::encoding&lowbar;opts
:relfileprefix: ../../../
:mrdocs:

Constructs an `encoding&lowbar;opts` object with the specified options&period;

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/encoding_opts.hpp#L117[boost&sol;url&sol;encoding&lowbar;opts&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
encoding&lowbar;opts(
    bool const space&lowbar;as&lowbar;plus = false,
    bool const lower&lowbar;case = false,
    bool const disallow&lowbar;null = false) noexcept;
----

== Parameters

[cols=2]
|===
| Name
| Description
| *space&lowbar;as&lowbar;plus*
| If true, spaces will be encoded as plus signs&period;
| *lower&lowbar;case*
| If true, hexadecimal digits will be emitted as lower case&period;
| *disallow&lowbar;null*
| If true, null characters will not be allowed&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
