jdisho / TinyNetworking

🌩 Simple HTTP network abstraction layer written in Swift
MIT License
146 stars 14 forks source link

Support for cache policy #11

Closed ilessiivi closed 5 years ago

ilessiivi commented 5 years ago

I needed a new parameter in the ResourceType for URLRequest's cachePolicy.

It might be useful for others too so I'm submitting a pull request for you to consider, but keep in mind that merging this would be a breaking change since the cachePolicy is then required.

jdisho commented 5 years ago

Thank you @ilessiivi 😄