Instance Method

reset(completionHandler:)

Empties all cookies, caches and credential stores, removes disk files, flushes in-progress downloads to disk, and ensures that future requests occur on a new socket.

Declaration

func reset(completionHandler: @escaping () -> Void)

Parameters

completionHandler

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