getCurlInterface() public method

public getCurlInterface ( ) : string
return string
Example #1
0
 /**
  * @return Session
  */
 public function session()
 {
     $options = [];
     if (null !== $this->config->getTimeout()) {
         $options['timeout'] = $this->config->getTimeout();
     }
     if (null !== $this->config->getCurlInterface()) {
         $options['curl'][10062] = $this->config->getCurlInterface();
     }
     $options['curl'][74] = true;
     $options['curl'][75] = true;
     return new Session($this->uri, new Client($options), $this->config);
 }