Contents

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  @Sendable () -> Void)
func reset() async

Parameters

  • completionHandler:

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

See Also

Managing the session