Represents a response to a HTTP request


The following tables list the members exposed by Response.

Public Constructors

  Name Description
Public method Response Created a new Response class
Top

Public Properties

  Name Description
Public property ContentLength The length of the response body, if present
Public property ContentReceived The amount of content received so far
Public property ContentStream A stream to access the response content
Public property FinishTime The time at which the response was completed
Public property Headers The headers of the HTTP response
Public property Reason Additional reason text to accompany the Status code
Public property StartTime The time at which the response began
Public property Status The status code of the response
Public property Version The version of HTTP supported by the server
Top

Public Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetHeader Helper function to get a header from the request headers
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also