summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-02-09 14:33:55 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-02-09 14:34:22 +0100
commita5561aad701836484a1e93ef7fc950add9bd2487 (patch)
tree8c20714e99d92ec8ea563bb9e5d94403419e9ffe /lib
parente5dca31c89f64bfa137b9b6f0009cc6af0c186f2 (diff)
Document geoip_lock and proxy variables
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index da2d1c2..d99270e 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -1156,6 +1156,14 @@ a (nearly) complete list of departures and real-time data. The hashref contains
two optional keys: B<area> (GeoJSON) and B<regions> (list of strings, e.g. "DE"
or "CH-BE").
+=item B<geoip_lock> => I<proxy_id>
+
+If present: the service filters requests based on the estimated location of the
+requesting IP address, and may return errors or time out when the requesting IP
+address does not satisfy its requirements. Set the B<HAFAS_PROXY_>I<proxy_id>
+environment variable to a proxy string (e.g. C<< socks://localhost:12345 >>) if
+needed to work around this.
+
=item B<homepage> => I<string>
Homepage URL of the service provider.