Instance Method

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 () -> Void)

Parameters

completionHandler

The completion handler to call when the flush operation is complete. This handler is executed on the delegate queue.