WebTestResponse Members
Include Protected Members
Include Inherited Members
Represents an HTTP response.
The WebTestResponse type exposes the following members.
Methods
Name
Description
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets the raw bytes of the HTTP response body.
Gets a string version of the response body for responses with text, HTML, or XML content types.
Gets the character set that is specified in the response headers.
Gets the method that is used to encode the body of the response.
Gets the length of the content that is returned by the request.
Gets the MIME type of the response body.
Gets the cookies associated with the response.
Gets the headers associated with the response from the server.
Gets the HtmlDocument created by parsing the response body of a response with HTML or XHTML content type.
Gets a value indicating whether the response body is empty.
Gets a value indicating whether the response body is an HTML document.
Gets a value indicating whether the response body is a text document.
Gets a value that indicates whether the response is XML.
Gets the last date and time that the contents of the response were modified.
Gets the method that is used to return the response.
Gets the version of the HTTP protocol that is used in the response.
Gets the URI of the Internet resource that responded to the request.
Gets the name of the server that sent the response.
Gets detailed information gathered during the execution of the request.
Gets the status of the response.
Gets the status description returned with the response.
Gets a XmlDocument representing the response body if the content type indicated the response was XML.
Top