Class HttpResponse
Inheritance
System.Object
HttpResponse
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Messaging.Http
Assembly: ArtOfTest.WebAii.dll
Syntax
public class HttpResponse : IXmlPersistable
Constructors
HttpResponse()
Declaration
public HttpResponse()
HttpResponse(HttpResponse)
HttpResponse(Int32, HttpRequest)
Declaration
public HttpResponse(int errorCode, HttpRequest request)
Parameters
System.Int32
errorCode
|
HttpRequest
request
|
Properties
Content
Declaration
public byte[] Content { get; set; }
Property Value
System.Byte[]
|
Guid
Declaration
public Guid Guid { get; }
Property Value
System.Guid
|
Headers
Declaration
public NameValueCollection Headers { get; set; }
Property Value
System.Collections.Specialized.NameValueCollection
|
HttpVersion
Declaration
public string HttpVersion { get; set; }
Property Value
System.String
|
IsImage
Declaration
public bool IsImage { get; }
Property Value
System.Boolean
|
IsXml
Declaration
public bool IsXml { get; }
Property Value
System.Boolean
|
MimeType
Declaration
public string[] MimeType { get; }
Property Value
System.String[]
|
Request
StatusCode
Declaration
public int StatusCode { get; set; }
Property Value
System.Int32
|
StatusDescription
Declaration
public string StatusDescription { get; set; }
Property Value
System.String
|
Timestamp
Declaration
public DateTime Timestamp { get; }
Property Value
System.DateTime
|
Methods
AddHeader(String, String)
Declaration
public void AddHeader(string name, string value)
Parameters
System.String
name
|
System.String
value
|
AppendHeader(String, String)
Declaration
public void AppendHeader(string name, string value)
Parameters
System.String
name
|
System.String
value
|
CleanUpConnectionOptions()
Declaration
public void CleanUpConnectionOptions()
Clear()
Declaration
public void Clear()
ClearContent()
Declaration
public void ClearContent()
ClearHeaders()
Declaration
public void ClearHeaders()
GetUnchunkedContent()
Declaration
public byte[] GetUnchunkedContent()
Returns
System.Byte[]
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()
ToString(Boolean)
Declaration
public string ToString(bool printHeaders)
Parameters
System.Boolean
printHeaders
|
Returns
System.String
|
Explicit Interface Implementations
IXmlPersistable.CurrentVersion
Declaration
Version IXmlPersistable.CurrentVersion { get; }
Returns
System.Version
|
Implements
IXmlPersistable.LoadFrom(XmlStoreNode)
Declaration
void IXmlPersistable.LoadFrom(XmlStoreNode store)
Parameters
XmlStoreNode
store
|
Implements
IXmlPersistable.RootName
Declaration
string IXmlPersistable.RootName { get; }
Returns
System.String
|
Implements
IXmlPersistable.SaveTo(XmlStoreNode)
Declaration
void IXmlPersistable.SaveTo(XmlStoreNode store)
Parameters
XmlStoreNode
store
|