C# 0 The Complete Reference


HttpWebRequest and HttpWebResponse



Download 4,07 Mb.
Pdf ko'rish
bet1022/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   1018   1019   1020   1021   1022   1023   1024   1025   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

HttpWebRequest and HttpWebResponse

The classes 



HttpWebRequest

 and 


HttpWebResponse

 inherit the 



WebRequest

 and 


WebResponse

 classes and implement the HTTP protocol. In the process, both add several 

properties that give you detailed information about an HTTP transaction. Some of these 

public static IWebProxy

    DefaultWebProxy { get; set; }

Obtains or sets the default proxy. 

public vir tual WebHeaderCollection

    Headers{ get; set; }

Obtains or sets a collection of the headers.

public TokenImpersonationLevel

     ImpersonationLevel { get; set; }

Obtains or sets the impersonation level. 

public vir tual string Method { get; set; }

Obtains or sets the protocol. 

public vir tual bool PreAuthenticate { get; set; }

If true, authentication information is included 

when the request is sent. If false, authentication 

information is provided only when requested by 

the URI.

public vir tual IWebProxy Proxy { get; set; }

Obtains or sets the proxy ser ver. This applies only 

to environments in which a proxy ser ver is used.

public vir tual Uri RequestUri { get; }

Obtains the URI of the request.

public vir tual int Timeout { get; set; }

Obtains or sets the number of milliseconds that 

a request will wait for a response. To wait forever, 

use


Timeout.Infinite

.

public vir tual bool



    UseDefaultCredential { get; set; }

Obtains or sets a value that determines if default 

credentials are used for authentication. If true, 

the default credentials (i.e., those of the user) are 

used. They are not used if false.

T

ABLE



 25-2 

The Proper ties Defi ned by 

WebRequest

(continued)

Property Description

www.freepdf-books.com



Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   1018   1019   1020   1021   1022   1023   1024   1025   ...   1096




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish