Reuse clients

hi Ruri,
don’t you think it would be nicer to reuse clients than to always instantiate new ones? it’s much better

you could just edit them?

I don’t understand what you mean to be honest. If you mean jobs then you can simply edit them ^^

Laiteux was my mentor like his project Milky or my project Bolly we reuse our httpClient for more performance and it’s cleaner
yes I could edit it but I’m not sure I could do it alone
example: HTTPClient Best Practices and Anti-Patterns| TheCodeBuzz

Ah you meant http clients. Yes it’s something I’m considering implementing, don’t worry. I already spoke with Laiteux about this.


oh i thought you meant jobs too lol

1 Like