removeCustomHeader method
Officially Supported Platforms/Implementations:
- Android WebView 110+ (Official API - Profile.removeCustomHeader):
- Requires WebViewFeature.CUSTOM_REQUEST_HEADERS.
Parameters - Officially Supported Platforms/Implementations:
containerId: all platformsheaderName: all platforms
Use the PlatformContainerController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> removeCustomHeader({
required String containerId,
required String headerName,
}) => platform.removeCustomHeader(
containerId: containerId,
headerName: headerName,
);