dcash_wallet/wallet.cpp
void logout(HttpClient *client) {
  if (!is_loged_in) {
    exit(0);
  }

  string path = "/auth-tokens/" + user_id;
  client->set_header("x-auth-token", auth_token);
  HTTPClientResponse *client_response = client->del(path);
  delete client_response;

  // the server show returns nothing
  exit(0);  // exit the program
}
/**
 * @brief logout the current user.
 * 
 * @param client Http client to the API server.
 */
@brief logout the current user.

@param client Http client to the API server.
@brief logout the current user . @param client Http client to the API server .
void logout(HttpClient *client) {
  if (!is_loged_in) {
    exit(0);
  }
  string path = "/auth-tokens/" + user_id;
  client->set_header("x-auth-token", auth_token);
  HTTPClientResponse *client_response = client->del(path);
  delete client_response;
  exit(0);  
}
void logout ( HttpClient * client ) { if ( ! is_loged_in ) { exit ( 0 ) ; } string path = " " + user_id ; client -> set_header ( " " , auth_token ) ; HTTPClientResponse * client_response = client -> del ( path ) ; delete client_response ; exit ( 0 ) ; }
@brief logout the current user.
@brief logout the current user .
// the server show returns nothing // exit the program