raven-aiohttp icon indicating copy to clipboard operation
raven-aiohttp copied to clipboard

Allow to pass an instance of ClientSession as an argument.

Open Kentzo opened this issue 8 years ago • 1 comments

Refs #22

Kentzo avatar Oct 23 '17 04:10 Kentzo

@asvetlov In this PR I also changed code to always cache ClientSession. Please let me know if this is bad. If so, I'd also like to add a comment to the code.

This is a backward compatible change. I would remove verify_ssl, resolve, timeout, keepalive and family requiring the user to either pass client_session or use default-constructed.

Kentzo avatar Oct 23 '17 04:10 Kentzo