Sentry/Client.php
private function send_remote($url, $data, $headers=[])
    {
        $parts = parse_url($url);
        $parts['netloc'] = $parts['host'].(isset($parts['port']) ? ':'.$parts['port'] : null);
        $this->send_http($url, $data, $headers);
    }
private function send_remote($url, $data, $headers=[])
    {
        $parts = parse_url($url);
        $parts['netloc'] = $parts['host'].(isset($parts['port']) ? ':'.$parts['port'] : null);
        $this->send_http($url, $data, $headers);
    }
private function send_remote ( $ url , $ data , $ headers = [ ] ) { $ parts = parse_url ( $ url ) ; $ parts [ 'netloc' ] = $ parts [ 'host' ] . ( isset ( $ parts [ 'port' ] ) ? ':' . $ parts [ 'port' ] : null ) ; $ this -> send_http ( $ url , $ data , $ headers ) ; }
Send data to Sentry

@param string    $url        Full URL to Sentry
@param array     $data       Associative array of data to log
@param array     $headers    Associative array of headers
Send data to Sentry