Gets or sets the list of sub-requests that will be fetched from the web server
by this request. The sub-requests will be fetched when Send or SendSubRequests(Response) are called.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
Field Value
The list of sub-requests that will be fetched from the web server by this request.Examples
Url url1 = new Url(protocol1, localhost, "/"); // Create a GET request Request request1 = Browser.CreateRequest(HttpMethod.GET, url1, 1); // Create a list of sub-requests List<Url> subRequests = new ArrayList<Url>(); subRequests.Add(new Url(protocol1, localhost, "/Themes/TestPlant/Content/images/orange_button_bg.gif")); subRequests.Add(new Url(protocol1, localhost, "/Themes/TestPlant/Content/images/bg_maincolumn_3.gif")); subRequests.Add(new Url(protocol1, localhost, "/Themes/TestPlant/Content/images/logo-reflection.gif")); // Attach the list of sub-requests to the top-level request request1.SubRequests = subRequests; // Send the top-level request to the server, followed by all of the sub-requests Response response1 = request1.Send();
See Also