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

Multiple clients posible? #265

Open
BasvanH opened this issue Oct 19, 2017 · 3 comments
Open

Multiple clients posible? #265

BasvanH opened this issue Oct 19, 2017 · 3 comments

Comments

@BasvanH
Copy link

BasvanH commented Oct 19, 2017

Hi,

I have one class where I use httpful as an HTTP client to get XML data. Because of different credentials I need to have two sessions so I load two variables with my class. I noticed the second variable overwrites the Httpfull client in my class, it doesn't make both httpful clients unique. Is there a way to accomplish this?

Regards,
Bastiaan

@nategood
Copy link
Owner

Code example? Are you changing the request template?

@BasvanH
Copy link
Author

BasvanH commented Oct 23, 2017

For the code, please look here. Yes, I think I adjust the request template.

@BasvanH
Copy link
Author

BasvanH commented Oct 24, 2017

Can I make both class initializations use an unique template?

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

No branches or pull requests

2 participants