src/Requester.php
protected function initialize()
    {
        $this->url = '';
        $this->options = [];
        $this->secure = array_get($this->config, 'secure', true);
        $this->retryOn = array_get($this->config, 'retry.on', [500, 502, 503, 504]);
        $this->retryDelay = array_get($this->config, 'retry.delay', 10);
        $this->retry = array_get($this->config, 'retry.times', 5);
        $this->verify = array_get($this->config, 'verify', true);
        $this->async = array_get($this->config, 'async', false);
    }
protected function initialize()
    {
        $this->url = '';
        $this->options = [];
        $this->secure = array_get($this->config, 'secure', true);
        $this->retryOn = array_get($this->config, 'retry.on', [500, 502, 503, 504]);
        $this->retryDelay = array_get($this->config, 'retry.delay', 10);
        $this->retry = array_get($this->config, 'retry.times', 5);
        $this->verify = array_get($this->config, 'verify', true);
        $this->async = array_get($this->config, 'async', false);
    }
protected function initialize ( ) { $ this -> url = '' ; $ this -> options = [ ] ; $ this -> secure = array_get ( $ this -> config , 'secure' , true ) ; $ this -> retryOn = array_get ( $ this -> config , 'retry.on' , [ 500 , 502 , 503 , 504 ] ) ; $ this -> retryDelay = array_get ( $ this -> config , 'retry.delay' , 10 ) ; $ this -> retry = array_get ( $ this -> config , 'retry.times' , 5 ) ; $ this -> verify = array_get ( $ this -> config , 'verify' , true ) ; $ this -> async = array_get ( $ this -> config , 'async' , false ) ; }
Resets all variables to default values
required if using the same instance for multiple requests.

@return void
Resets all variables to default values required if using the same instance for multiple requests .