WebBrowser CreateRequest Method (HttpMethod, Url)C# API
Creates a Request object that can be used to send an HTTP request to the web server.

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

public Request CreateRequest(
	HttpMethod method,
	Url url
)

Return Value

The new Request object.
Remarks

Examples

The following example demonstrates creating a Request and sending it.
// Send a GET request to http://www.testplant.co.uk/
Request request1 = WebBrowser.CreateRequest(HttpMethod.GET, new Url("http://www.testplant.co.uk/")); 
Response response1 = request1.Send();
See Also