SwiftFormat

master
Hwee-Boon Yar 4 months ago
parent 3fb79023e7
commit 41bc958845
  1. 10
      modules/AlphaWalletTrackAPICalls/AlphaWalletTrackAPICalls/TrackApiCalls.swift

@ -39,25 +39,25 @@ public class TrackApiCalls: URLProtocol {
method_exchangeImplementations(method1, method2) method_exchangeImplementations(method1, method2)
} }
public override func startLoading() { override public func startLoading() {
//no-op //no-op
} }
public override func stopLoading() { override public func stopLoading() {
//no-op //no-op
} }
public override class func canInit(with task: URLSessionTask) -> Bool { override public class func canInit(with task: URLSessionTask) -> Bool {
clock(url: task.originalRequest?.url) clock(url: task.originalRequest?.url)
return false return false
} }
public override class func canInit(with request: URLRequest) -> Bool { override public class func canInit(with request: URLRequest) -> Bool {
clock(url: request.url) clock(url: request.url)
return false return false
} }
public override class func canonicalRequest(for request: URLRequest) -> URLRequest { override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
return request return request
} }

Loading…
Cancel
Save