Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

HttpResponse Class

Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9147)

This class represents HTTP and HTTPS responses.

Syntax
public class HttpResponse : WebResponse, IDisposable, ISerializable
Inheritance
Object
MarshalByRefObject
WebResponse
HttpResponse
Implements
IDisposable
ISerializable
Inherited Members
MarshalByRefObject.GetLifetimeService()
MarshalByRefObject.InitializeLifetimeService()
MarshalByRefObject.MemberwiseClone(Boolean)
WebResponse.Dispose()
WebResponse.Dispose(Boolean)
WebResponse.GetObjectData(SerializationInfo, StreamingContext)
WebResponse.IsFromCache
WebResponse.IsMutuallyAuthenticated
WebResponse.SupportsHeaders
WebResponse.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies