According to : https://help.nexmo.com/hc/en-us/articles/205065817-Can-I-send-multiple-SMS-in-a-single-API-request-
"Make sure to keep your connection alive so you can reuse the HTTP socket when sending requests and taking full advantage of your account throughput (5 SMS/second). The best-practice is to leverage HTTP 1/1 and Keep-Alive the connection so each time you are sending a new request you don't need to open another HTTP connection."
I've read several infos to try to keep alive a connection using curl but I am not able to send 5 sms reusing the http socket.
What is the solution ?
I tried with:
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
No success.
I tried to remove:
curl_close($ch);
No success too...
I am not able to find a good way to keep alive my connection in order to send sms as nexmo requires.
Who knows how to proceed?