Share via


uri_builder::append_query Method

Appends another query to the query of this uri_builder.

_ASYNCRTIMP uri_builder &append_query(
   const utility::string_t &query,
   bool do_encoding = false
);

template<
   typename T
>
uri_builder &append_query(
   utility::string_t name,
   const T &value
);

Parameters

  • T

  • query
    Query to append as a decoded string.

  • do_encoding
    Specify whether to apply URI encoding to the given string.

  • name
    The name portion of the query string

  • value
    The value portion of the query string

Return Value

A reference to this uri_builder to support chaining.

Requirements

Header: uri_builder.h

Namespace: web::http

See Also

Reference

uri_builder Class