Nuke icon indicating copy to clipboard operation
Nuke copied to clipboard

Any way to modify ImageRequest before it's executed?

Open suntrix opened this issue 1 year ago • 1 comments

I am trying to have one place that I could use to modify ImageRequest if needed (change the url, add url query params, etc.).

Any suggestions how to achieve this with Nuke?

suntrix avatar Apr 14 '24 21:04 suntrix

It't be great to add something similar to Get/willSendRequest to Nuke's ImagePipelineDelegate. In the current system, I don't think there are any APIs like that available. I would recommend creating your own factory method to achieve that.

kean avatar Apr 15 '24 01:04 kean