Google\Spreadsheet\DefaultServiceRequest::getCurlParams PHP Method

getCurlParams() public method

Get currently set curl params
public getCurlParams ( ) : array
return array
    public function getCurlParams()
    {
        return $this->curlParams;
    }

Usage Example

 public function testAddCurlParam()
 {
     $request = new DefaultServiceRequest("token");
     $request->addCurlParam(CURLOPT_SSL_VERIFYPEER, false);
     $params = $request->getCurlParams();
     $this->assertFalse($params[CURLOPT_SSL_VERIFYPEER]);
 }