Specify event_hooks
at the Request
level
#2649
-
I'd like to be able to provide event_hooks in the Request object executed by the send methods. This would allow for providing per-request context data to the event_hooks, without instantiating a new client for each request. The request event_hooks would be executed in addition to the client level event_hooks. I didn't see a way to do this in the current library; is there another feature providing this functionality, that I'm overlooking? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Good question. Let's bump this into a discussion for now. |
Beta Was this translation helpful? Give feedback.
Good question. Let's bump this into a discussion for now.
Can you start off by providing an example of what you'd like to be able to do, so we can work this through from a specific use-case?