Function SetTimeout

Synopsis

#include <include/restclient-cpp/connection.h>

void SetTimeout(int seconds)

Description

set connection timeout to seconds

set timeout for connection

Parameters

seconds - - timeout in seconds

Mentioned in

Source

Lines 196-199 in source/connection.cc. Line 164 in include/restclient-cpp/connection.h.

void
RestClient::Connection::SetTimeout(int seconds) {
  this->timeout = seconds;
}





Add Discussion as Guest

Log in