WebResponse
WebResponse
encapsulates a response that is obtained as the result of a request.
WebResponse
is an abstract class. Inheriting classes create specific, concrete versions of it that support a
protocol. A
WebResponse
object is normally obtained by calling the
GetResponse( )
method
defined by
WebRequest
. This object will be an instance of a concrete class derived from
WebResponse
that implements a specific protocol. The methods defined by
WebResponse
that are most commonly used are shown in Table 25-3. The properties defined by
WebResponse
are shown in Table 25-4. The values of these properties are set based on each individual
response.
WebResponse
defines no public constructors.
Do'stlaringiz bilan baham: |