[#boost-urls-url_base-params-0c1]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url_base.adoc[url&lowbar;base]::params
:relfileprefix: ../../../
:mrdocs:

Return the query as a container of parameters

== Synopses

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/url_base.hpp#L2126[boost&sol;url&sol;url&lowbar;base&period;hpp]&gt;`

Return the query as a container of parameters


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_ref.adoc[params&lowbar;ref]
xref:boost/urls/url_base/params-03.adoc[params]() noexcept;
----

[.small]#xref:boost/urls/url_base/params-03.adoc[_» more&period;&period;&period;_]#

Return the query as a container of parameters


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_view.adoc[params&lowbar;view]
xref:boost/urls/url_base/params-0b.adoc[params]() const noexcept;
----

[.small]#xref:boost/urls/url_base/params-0b.adoc[_» more&period;&period;&period;_]#

Return the query as a container of parameters


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_ref.adoc[params&lowbar;ref]
xref:boost/urls/url_base/params-0c8.adoc[params](xref:boost/urls/encoding_opts.adoc[encoding&lowbar;opts] opt) noexcept;
----

[.small]#xref:boost/urls/url_base/params-0c8.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_view.adoc[params&lowbar;view]
xref:boost/urls/url_view_base/params-05.adoc[params](xref:boost/urls/encoding_opts.adoc[encoding&lowbar;opts] opt) const noexcept;
----

[.small]#xref:boost/urls/url_view_base/params-05.adoc[_» more&period;&period;&period;_]#

== Return Value

* `&ast;this`
* A bidirectional view of key&sol;value pairs&period;
* A range of references to the parameters&period;

== Parameters

[cols=2]
|===
| Name
| Description
| *opt*
| The options for decoding&period; If this parameter is omitted, the `space&lowbar;as&lowbar;plus` is used&period;
|===

== See Also

xref:boost/urls/url_base/encoded_params-0b.adoc[`encoded&lowbar;params`], xref:boost/urls/url_base/remove_query.adoc[`remove&lowbar;query`], xref:boost/urls/url_base/set_encoded_query.adoc[`set&lowbar;encoded&lowbar;query`], xref:boost/urls/url_base/set_query.adoc[`set&lowbar;query`]&period;

xref:boost/urls/url_base/encoded_params-0b.adoc[`encoded&lowbar;params`], xref:boost/urls/url_view_base/encoded_query.adoc[`encoded&lowbar;query`], xref:boost/urls/url_view_base/has_query.adoc[`has&lowbar;query`], xref:boost/urls/url_view_base/query.adoc[`query`]&period;


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