Sentry/Client.php
private function send_http($url, $data, $headers=[])
    {
        if ($this->curl_method == 'async') {
            $this->_curl_handler->enqueue($url, $data, $headers);
        } elseif ($this->curl_method == 'exec') {
            $this->send_http_asynchronous_curl_exec($url, $data, $headers);
        } else {
            $this->send_http_synchronous($url, $data, $headers);
        }
    }
private function send_http($url, $data, $headers=[])
    {
        if ($this->curl_method == 'async') {
            $this->_curl_handler->enqueue($url, $data, $headers);
        } elseif ($this->curl_method == 'exec') {
            $this->send_http_asynchronous_curl_exec($url, $data, $headers);
        } else {
            $this->send_http_synchronous($url, $data, $headers);
        }
    }
private function send_http ( $ url , $ data , $ headers = [ ] ) { if ( $ this -> curl_method == 'async' ) { $ this -> _curl_handler -> enqueue ( $ url , $ data , $ headers ) ; } elseif ( $ this -> curl_method == 'exec' ) { $ this -> send_http_asynchronous_curl_exec ( $ url , $ data , $ headers ) ; } else { $ this -> send_http_synchronous ( $ url , $ data , $ headers ) ; } }
Send the message over http to the sentry url given

@param string $url       URL of the Sentry instance to log to
@param array $data       Associative array of data to log
@param array $headers    Associative array of headers
Send the message over http to the sentry url given