Describes an HTTP response returned by a web server. When a
Request
is sent to the server, then a corresponding Response object will be generated.
System Object Facilita.Web ResponseNamespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
public class Response : IDisposable
public class Response : IDisposable
The Response object contains information about the response from the web
server, such as the HTTP status code, the HTTP response headers, and
the actual content of the response.
The response may also contain sub-responses, such as images, CSS files, or
javascript. These can be accessed using the
SubResponses property.
The following example demonstrates sending a request and receiving a response.
Request request1 = WebBrowser.CreateRequest(HttpMethod.GET, new Url("http://www.testplant.co.uk/"), 1);
Response response1 = request1.Send();
Request request1 = WebBrowser.CreateRequest(HttpMethod.GET, new Url("http://www.testplant.co.uk/"), 1);
Response response1 = request1.Send();