invalidatePrewarmingToken static method
- PrewarmingToken prewarmingToken
Ends all prewarmed connections associated with the token, except for connections that are also kept alive by other tokens.
Officially Supported Platforms/Implementations:
- iOS SFSafariViewController 15.0+ (Official API - SFSafariViewController.PrewarmingToken.invalidate)
Parameters - Officially Supported Platforms/Implementations:
prewarmingToken: all platforms
Use the PlatformChromeSafariBrowser.isMethodSupported method to check if this method is supported at runtime.
Implementation
static Future<void> invalidatePrewarmingToken(
PrewarmingToken prewarmingToken,
) => PlatformChromeSafariBrowser.static().invalidatePrewarmingToken(
prewarmingToken,
);