2017-03-23 72 views

回答

2

這是okhttp攔截迅速版本。使用下面的鏈接:

https://cocoapods.org/pods/SwiftInterceptor

+0

我們對目標C – sunil

+0

同樣的事情,這應該工作: https://github.com/xplatsolutions/iOS-Network-Interceptor –

+0

我要尋找一個在AlamoFire要求適配器。您能否告訴我如何在類似請求適配器的AFnetworking中完成這項工作。 https://grokswift.com/custom-headers-alamofire4-swift3/ – sunil