TextureGroup / Texture

Smooth asynchronous user interfaces for iOS apps.
https://texturegroup.org/
Other
8.02k stars 1.29k forks source link

How to pass the custom header into ASNetworkImageNode #2110

Closed avijitmobi closed 5 months ago

avijitmobi commented 5 months ago

Suppose, I have an ASNetworkImageNode object in my app.

private var imageNode: ASNetworkImageNode = ASNetworkImageNode() imageNode.url = URL(string : https://images.pexels.com/photos/25347411/pexels-photo-25347411.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940)!

Here I want to pass a custom header like ["Origin" : "myApp"] Is it possible to pass header. If possible then how to pass custom header? I have Tried with PinRemoteImageManager and checked log using Instrument but it is not working.