Click or drag to resize

GenericHttpResponse Class

Describes a response of a standard HTTP Request
Inheritance Hierarchy

Namespace:  Hummingbird.TestFramework.Services
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
public class GenericHttpResponse : BaseGenericHttpMessage

The GenericHttpResponse type exposes the following members.

Constructors
  NameDescription
Public methodGenericHttpResponse
Initializes a new instance of the GenericHttpResponse class.
Top
Properties
  NameDescription
Public propertyBody
Gets or sets the HTTP Body (in POST or PUT).
(Inherited from BaseGenericHttpMessage.)
Public propertyCookies
Gets or sets a list of Cookies that will be sent to the server
(Inherited from BaseGenericHttpMessage.)
Public propertyHeaders
Gets or sets the HTTP headers.
(Inherited from BaseGenericHttpMessage.)
Public propertyHttpStatusCode
Gets or sets the HTTP code.
Public propertyReason
Gets or sets the reason.
Public propertyVersion
Gets or sets the HTTP version.
(Inherited from BaseGenericHttpMessage.)
Top
Methods
  NameDescription
Public methodAddHeader
Add the Http header in response, if in the request a header of the same name is found, that header will be replaced.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromString
Froms the string.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also