Request SendTopLevel Method C# API
Sends this request to the web server, and waits for the response to be served, but doesn't send any sub-requests. This is unlike Send  which also sends sub-requests. You can send the sub-requests later by calling SendSubRequests(Response).

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

public Response SendTopLevel()

Return Value

The Response to the top-level request. Note that this will not contain any sub-responses.
Examples

The following example demonstrates sending the top-level request separately to the sub-requests.
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