Response Method Property C# API
Gets the HttpMethod that was used to send the Request.

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

public HttpMethod Method { get; }

Field Value

The HttpMethod that was used in the Request.
Examples

The following example demonstrates getting the HTTP method.
Request request1 = WebBrowser.CreateRequest(HttpMethod.GET, url1, 1);
Response response1 = request1.Send();

HttpMethod method = response1.Method; // method will be HttpMethod.GET
See Also