Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add client #351

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open

Conversation

kristos80
Copy link

This patch introduces a calculated property, id, in the Client class. The addition of this property allows for distinguishing instances of the Client class when necessary. Although this implementation is preliminary and may need further refinement, it serves as a basic solution to separate and uniquely identify different Client instances when required.

Having a way to distinguish between clients in an application that uses multiple of them isn't something straightforward in current version.
This patch adds an `id` in a deterministic way (hash of the `url` parameter) and exposes a method for retrieving it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant