boost::urls::params_encoded_base::buffer

Return the query corresponding to these params

Synopsis

Declared in <include/boost/url/params_encoded_base.hpp>

pct_string_view
buffer() const noexcept;

Description

This function returns the query string referenced by the container. The returned string may contain percent escapes.

assert( url_view( "?first=John&last=Doe" ).encoded_params().buffer() == "first=John&last=Doe" );

Constant.

Throws nothing.

query-params = query-param *( "&" query-param ) query-param = key [ "=" value ] key = *qpchar value = *( qpchar / "=" )
  • Query string (Wikipedia)
  • Created with MrDocs