HttpResponse Class
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9083)
This class represents HTTP and HTTPS responses.
Syntax
public class HttpResponse : WebResponse, IDisposable, ISerializable
Inherited Members
Properties
Name | Description |
---|---|
CharacterSet | Gets a character set that is used in response Content-Type HTTP header. |
Cipher | Gets information about the TLS/SSL cipher (if TLS/SSL is in use). |
ContentEncoding | Gets a value of HTTP Content-Encoding header of this response. |
ContentLength | Gets a value of HTTP Content-Length header of this response. |
ContentType | Gets a value of HTTP Content-Type header of this response. |
Cookies | Gets a collection of HTTP cookies associated with this response. |
Headers | Gets a collection of HTTP header of this response. |
LastModified | Gets a value of the Last-Modified header, which indicates the last modification date and time of the resource. |
Method | Gets a HTTP method that a request used when received this response. |
ProtocolVersion | Gets HTTP protocol version of this response. |
ResponseUri | Gets a uri that responsed to the request. |
Server | Gets a value of HTTP Server header of this response. |
StatusCode | Gets a status code of the response. |
StatusDescription | Gets a status code description. |
Methods
Name | Description |
---|---|
Close() | Closes the response stream returned by GetResponseStream() method. |
GetResponseStream() | Returns a stream that contains data of the response. |