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

Percent&hyphen;encoding options

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct encoding&lowbar;opts;
----

== Description

These options are used to customize the behavior of algorithms which use percent escapes, such as encoding or decoding&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:boost/urls/encoding_opts/2constructor.adoc[`encoding&lowbar;opts`]         [.small]#[constructor]#
| Constructs an `encoding&lowbar;opts` object with the specified options&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:boost/urls/encoding_opts/disallow_null.adoc[`disallow&lowbar;null`] 
| True if nulls are not allowed
| xref:boost/urls/encoding_opts/lower_case.adoc[`lower&lowbar;case`] 
| True if hexadecimal digits are emitted as lower case
| xref:boost/urls/encoding_opts/space_as_plus.adoc[`space&lowbar;as&lowbar;plus`] 
| True if spaces encode to and from plus signs
|===


== See Also

xref:boost/urls/encode-0d.adoc[`encode`], xref:boost/urls/encoded_size.adoc[`encoded&lowbar;size`], xref:boost/urls/pct_string_view.adoc[`pct&lowbar;string&lowbar;view`]&period;


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