Update SwiftFlutterPlugin.swift
This commit is contained in:
parent
54faefe23f
commit
2812726655
|
@ -734,7 +734,7 @@ public class SwiftFlutterPlugin: NSObject, FlutterPlugin {
|
|||
}
|
||||
}
|
||||
|
||||
func onLoadResource(uuid: String, webView: WKWebView, response: URLResponse, fromRequest request: URLRequest?, withData data: Data, startTime: Int, duration: Int) {
|
||||
func onLoadResource(uuid: String, webView: WKWebView, response: URLResponse, fromRequest request: URLRequest?, withData data: Data, startTime: Int64, duration: Int64) {
|
||||
if self.webViewControllers[uuid] != nil {
|
||||
var headersResponse = (response as! HTTPURLResponse).allHeaderFields as! [String: String]
|
||||
headersResponse.lowercaseKeys()
|
||||
|
|
Loading…
Reference in New Issue