src/Http/Clients/JetSmsXmlClient.php
private function performCurlSession($payload)
    {
        $perCurlConnection = curl_init();
        curl_setopt($perCurlConnection, CURLOPT_URL, $this->url);
        curl_setopt($perCurlConnection, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($perCurlConnection, CURLOPT_TIMEOUT, 10);
        curl_setopt($perCurlConnection, CURLOPT_POSTFIELDS, $payload);

        $result = curl_exec($perCurlConnection);

        return $result;
    }
private function performCurlSession($payload)
    {
        $perCurlConnection = curl_init();
        curl_setopt($perCurlConnection, CURLOPT_URL, $this->url);
        curl_setopt($perCurlConnection, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($perCurlConnection, CURLOPT_TIMEOUT, 10);
        curl_setopt($perCurlConnection, CURLOPT_POSTFIELDS, $payload);

        $result = curl_exec($perCurlConnection);

        return $result;
    }
private function performCurlSession ( $ payload ) { $ perCurlConnection = curl_init ( ) ; curl_setopt ( $ perCurlConnection , CURLOPT_URL , $ this -> url ) ; curl_setopt ( $ perCurlConnection , CURLOPT_RETURNTRANSFER , 1 ) ; curl_setopt ( $ perCurlConnection , CURLOPT_TIMEOUT , 10 ) ; curl_setopt ( $ perCurlConnection , CURLOPT_POSTFIELDS , $ payload ) ; $ result = curl_exec ( $ perCurlConnection ) ; return $ result ; }
Perform the curl session.

@param  string $payload

@return string
Perform the curl session .