:relfileprefix: ../../
[#B8D4FC8557771483912678A183E6B105BC8E9C11]

= Function parse_query

pass:v,q[Parse a string and return an encoded params view]


== Synopsis

Declared in header `</boost/url/parse_query.hpp#L46[boost/url/parse_query.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
result<xref:boost/urls/params_encoded_view.adoc[params_encoded_view]>
parse_query(string_view s) noexcept;
----

== Description

pass:v,q[This function parses the string and returns the] pass:v,q[corresponding params object if the string is valid,]
pass:v,q[otherwise returns an error.]

=== BNF
[,cpp]
----
----

=== Exception Safety
pass:v,q[No-throw guarantee.]

=== Specification



== Return Value

* `result` 


== Parameters

|===
| Name | Type 

| *s*
| `string_view`

|===



