You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Split/Api/CertificatePinningConfig.swift
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,8 @@ public class CertificatePinningError: NSObject, LocalizedError, @unchecked Senda
145
145
Sets the status handler for certificate pinning.
146
146
147
147
This method allows you to specify a closure that will be called when a certificate pinning verification occurs.
148
-
- Parameter handler: A closure that takes a `CertificatePinningStatusHandler` as its parameter. This closure will be called when a certificate pinning verification happens whether it fails or not.
148
+
- Parameter handler: A closure that takes a `CertificatePinningStatusHandler` as its parameter.
149
+
This closure will be called when a certificate pinning verification happens whether it fails or not.
149
150
- Note: The `handler` closure is marked as `@escaping` because it is stored for later use, rather than being called immediately within the method.
150
151
- Warning: This handler is called on a background thread. If you need to perform UI updates, ensure you dispatch them to the main thread.
0 commit comments