smartystreets / smartystreets-php-sdk

The official client libraries for accessing SmartyStreets APIs from the PHP Hypertext Processor.
https://smartystreets.com/docs/sdk/php
Apache License 2.0
28 stars 15 forks source link

X_FORWARDED_FOR header added #52

Closed smartyeric closed 5 months ago

smartyeric commented 5 months ago

Added option to send the X_FORWARDED_FOR header with requests, mainly to facilitate usage of the ip geolocation feature of the US Autocomplete Pro API. The IP is passed as a string parameter of the ClientBuilder method withXForwardedFor.