GenericHttpResponse Class |
Namespace: Hummingbird.TestFramework.Services
The GenericHttpResponse type exposes the following members.
| Name | Description | |
|---|---|---|
| GenericHttpResponse |
Initializes a new instance of the GenericHttpResponse class.
|
| Name | Description | |
|---|---|---|
| Body |
Gets or sets the HTTP Body (in POST or PUT).
(Inherited from BaseGenericHttpMessage.) | |
| Cookies |
Gets or sets a list of Cookies that will be sent to the server
(Inherited from BaseGenericHttpMessage.) | |
| Headers |
Gets or sets the HTTP headers.
(Inherited from BaseGenericHttpMessage.) | |
| HttpStatusCode |
Gets or sets the HTTP code.
| |
| Reason |
Gets or sets the reason.
| |
| Version |
Gets or sets the HTTP version.
(Inherited from BaseGenericHttpMessage.) |
| Name | Description | |
|---|---|---|
| AddHeader |
Add the Http header in response, if in the request a header of the same name is found, that header will be replaced.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FromString |
Froms the string.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| ToStringOrXml |
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.) | |
| ToXmlString |
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.) |