Open ClassFoundationNetworking5.9.0
HTTPCookieStorage
class HTTPCookieStorage
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in FoundationNetworking
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
class var shared: HTTPCookieStorage
class func sharedCookieStorage(forGroupContainerIdentifier: String
) -> HTTPCookieStorage var cookieAcceptPolicy: HTTPCookie.AcceptPolicy
var cookies: [HTTPCookie]?
var description: String
func cookies(for: URL
) -> [HTTPCookie]? func deleteCookie(HTTPCookie
) func removeCookies(since: Date
) func setCookie(HTTPCookie
) func setCookies([HTTPCookie], for: URL?, mainDocumentURL: URL?
) func sortedCookies(using: [NSSortDescriptor]
) -> [HTTPCookie]