Sends the sub-requests for this request to the web server, and waits for the responses.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
Parameters
- response
- Type: Facilita.Web Response
The Response object returned by a call to SendTopLevel .
Remarks
This method will compile a list of sub-requests to send to the web server. This list is made up of:
- Any sub-requests that are identified by parsing the initial Response
- The sub-requests explicitly defined by calls to AddSubRequest(Url), SubRequests
The sub-responses will be attached to the Response object that is passed in, and can be accessed by using the SubResponses property.
Examples
Url url1 = new Url(protocol1, localhost, "/"); Request request1 = Browser.CreateRequest(HttpMethod.GET, url1, 1); // Send the top-level request only Response response1 = request1.SendTopLevel(); // Now send the sub-requests request1.SendSubRequests(response1); // We must call end() when we have finished with this request request1.End();
See Also