How to test cached response in swift?

前端 未结 0 974
星月不相逢
星月不相逢 2020-12-29 22:54

I\'m trying to write unit tests for my URLSession caching in swift.

Is there a way to know if the response came from the server or from the cache, so I c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题