We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RemoteLRS.queryStatements
1 parent 34b728a commit e2604aaCopy full SHA for e2604aa
src/RemoteLRS.php
@@ -557,6 +557,15 @@ public function queryStatements($query) {
557
$requestCfg = array(
558
'params' => $this->_queryStatementsRequestParams($query),
559
);
560
+ if (func_num_args() > 1) {
561
+ $options = func_get_arg(1);
562
+
563
+ if (isset($options)) {
564
+ if (isset($options['headers'])) {
565
+ $requestCfg['headers'] = $options['headers'];
566
+ }
567
568
569
570
$response = $this->sendRequest('GET', 'statements', $requestCfg);
571
0 commit comments