public function setRequestLimit($limit, $only_count_received_documents = false)
  {
    if (!preg_match("/^[0-9]*$/", $limit)) return false;
    
    $this->request_limit = $limit;
    $this->only_count_received_documents = $only_count_received_documents;
    return true;
  }