delete(_:completionHandler:)
Deletes the specified cookie.
Declaration
func delete(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)func deleteCookie(_ cookie: HTTPCookie) asyncParameters
- cookie:
The cookie to delete.
- completionHandler:
A completion handler block to execute asynchronously after the method successfully deletes the cookie. This block has no return value and no parameters.