Specifies a URL that will be ignored when fetching sub-requests from the web server.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
public void IgnoreSubRequest( Protocol protocol, IpEndPoint ipEndPoint, string path )
Parameters
- protocol
- Type: Facilita.Web Protocol
The protocol of the sub-request to ignore.
- ipEndPoint
- Type: Facilita.Native IpEndPoint
The IpEndPoint of the sub-request to ignore.
- path
- Type: System String
The path of the sub-request to ignore.
Remarks
Examples
Url url1 = new Url(protocol1, localhost, "/"); // Create a GET request Request request1 = Browser.CreateRequest(HttpMethod.GET, url1, 1); // Specify the sub-requests to ignore request1.IgnoreSubRequest(protocol1, localhost, "/Themes/TestPlant/Content/images/orange_button_bg.gif"); request1.IgnoreSubRequest(protocol1, localhost, "/Themes/TestPlant/Content/images/bg_maincolumn_3.gif"); request1.IgnoreSubRequest(protocol1, localhost, "/Themes/TestPlant/Content/images/logo-reflection.gif"); Response response1 = request1.Send();
See Also