[sngrl/php-firebase-cloud-messaging] How can I add custom cURL options? (#27)

  • From: notifications@github.com
  • Date: 2018-02-14 12:27:02
Hi.

I need add **CURLOPT_SSL_VERIFYPEER** option

How can I do it in this code:

```
$client = new Client();
$client->setApiKey($server_key);
$client->injectGuzzleHttpClient(new \GuzzleHttp\Client());
```
I found this in the Guzzle documentation but I can not apply it
```
$client->request('GET', '/', [
'curl' => [
CURLOPT_INTERFACE => 'xxx.xxx.xxx.xxx'
]
]);
```
Thank you!!!

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/sngrl/php-firebase-cloud-messaging/issues/27