Skip to content

Commit

Permalink
Ability to use proxies when requesting (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
sofwar authored Jun 24, 2020
1 parent 9e090fe commit c357704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ public function getDefaultRequestOptions()
{
return [
RequestOptions::FORM_PARAMS => $this->getParams(),
RequestOptions::PROXY => $this->getConfig('proxy'),
];
}

Expand Down Expand Up @@ -298,6 +299,6 @@ protected function getTokenUrl()

public static function additionalConfigKeys()
{
return ['api_key', 'realm', 'https'];
return ['api_key', 'realm', 'https', 'proxy'];
}
}

0 comments on commit c357704

Please sign in to comment.