Compartir a través de


uri_builder::set_user_info Method

Set the user info component of the URI.

uri_builder & set_user_info(
   const utility::string_t &user_info,
   bool do_encoding = false
);

Parameters

  • user_info
    User info 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