Compartir a través de


uri_builder::set_fragment Method

Set the fragment component of the URI.

uri_builder & set_fragment(
   const utility::string_t &fragment,
   bool do_encoding = false
);

Parameters

  • fragment
    Fragment as a decoded string.

  • do_encoding
    Specify whether to apply URI encoding to the given 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