NetworkClient.SetBlockedURLsAsync Method |
Version 89.0.170
Blocks URLs from loading.
Namespace:
CefSharp.DevTools.Network
Assembly:
CefSharp (in CefSharp.dll) Version: 89.0.170.0 (89.0.170.0)
Syntax public Task<DevToolsMethodResponse> SetBlockedURLsAsync(
string[] urls
)
public:
Task<DevToolsMethodResponse^>^ SetBlockedURLsAsync(
array<String^>^ urls
)
Parameters
- urls
- Type:System.String[]
URL patterns to block. Wildcards ('*') are allowed.
Return Value
Type:
Task<DevToolsMethodResponse>returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also