src/API.php
public function rawRequest(array $data = [], array $headers = []) {
        foreach ($headers as $header => $value) {
            $this->options[CURLOPT_HTTPHEADER][] = $header . ': ' . $value;
        }

        return $this->execute($data);
    }
public function rawRequest(array $data = [], array $headers = []) {
        foreach ($headers as $header => $value) {
            $this->options[CURLOPT_HTTPHEADER][] = $header . ': ' . $value;
        }

        return $this->execute($data);
    }
public function rawRequest ( array $ data = [ ] , array $ headers = [ ] ) { foreach ( $ headers as $ header => $ value ) { $ this -> options [ CURLOPT_HTTPHEADER ] [ ] = $ header . ': ' . $ value ; } return $ this -> execute ( $ data ) ; }
Perform a low level API request

@param array $data JSON-RPC compatible payload
@param array $headers Additional headers as key-value pairs

@return array Raw response from
@throws Exception on error
Perform a low level API request