HTTPCookiesStorageMonitor
public class HTTPCookiesStorageMonitor : BaseNotificationMonitor
An HTTPCookiesStorageMonitor instance monitors an HTTP cookie storage
object for changes to its acceptance policy or to its cookies.
-
Encapsulates changes to the cookie storage.
See moreDeclaration
Swift
public enum Event -
Specifies which events to monitor.
See moreDeclaration
Swift
public struct Options : OptionSet -
Initializes a new
HTTPCookiesStorageMonitor.Declaration
Parameters
cookieStorageThe cookie storage to monitor.
optionsThe options that specify which events to monitor. By default, all events are monitored.
queueThe operation queue on which the handler executes. By default, the main operation queue is used.
handlerThe handler to call when the acceptance policy of the cookie storage or the cookies stored in the cookie storage have changed.
-
The cookie storage being monitored.
Declaration
Swift
public let cookieStorage: HTTPCookieStorage -
Declaration
Swift
public override func addNotificationObservers()
View on GitHub
Install in Dash
HTTPCookiesStorageMonitor Class Reference