flush(completionHandler:)
Flushes cookies and credentials to disk, clears transient caches, and ensures that future requests occur on a new TCP connection.
Declaration
func flush(completionHandler: @escaping @Sendable () -> Void)func flush() asyncParameters
- completionHandler:
The completion handler to call when the flush operation is complete. This handler is executed on the delegate queue.