Share via


http_client_config::set_credentials Method

Set the client credentials

void set_credentials(
   const http::client::credentials& cred
);

Parameters

  • cred
    A reference to the client credentials.

Requirements

Header: http_client.h

Namespace: web::http::client

See Also

Reference

http_client_config Class