Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
fts-rest 3.10.0
-
Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
-
None
Description
From S. Beforte
Hi FTS3 developers
In my code I find it useful to initialize the FTS3 Easy Client context as per
http://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/easy/index.html
at the beginning and pass it around to various methods.
but then there are places where I'd like to get back the actual server URL
(for logging or to build the ftsmon URL), so I'd like to use the info
stored in the context, not have another string to pass around.
I see that this will do: context.endpoint
But I am hesitant to use a non-documented internal member like this,
as it could always change.
Can you make such retrieve of information from the context object
part of the Easy Bindings API ? Either via the above member of a method,
as you prefer ?