nategood/httpful

Multiple clients posible?

BasvanH opened this issue · 3 comments

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

Code example? Are you changing the request template?

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

Can I make both class initializations use an unique template?