invisnik / laravel-steam-auth

Laravel Steam Auth
MIT License
172 stars 67 forks source link

Custom request options for Guzzle. #104

Closed timetorock closed 5 years ago

timetorock commented 5 years ago

I need to send requests to Steam via another ethernet interface (proxy IP). For this I need to pass 'CURL' option in Guzzle parameters on request. For example:

'curl' => [ CURLOPT_INTERFACE => xxx.xxx.xxx.xxx ]

But currently there are no options to do this.

I've added new property and method to handle this. Maybe someone will need other options to add. Also if user do not use this method, nothing change for him.

Also some duplicate strings updated to constants.