Пример #1
0
 /**
  * This is the heart of Hicurl. It loads a requested url, using specified settings and returns the
  * server-response along with some data and optionally writes all data to a history-file.
  * This method has a instance counterpart of the name loadSingle which works just the same.
  * @see loadSingle()*/
 public static function loadSingleStatic($url, $formdata = null, $settings = [], $history = [])
 {
     return Hicurl::loadSingleReal(curl_init(), null, $url, $formdata, ($settings ? $settings : []) + Hicurl::$defaultSettings, $history);
 }