System::Web::Services::Protocols::HttpWebClientProtocol class

HttpWebClientProtocol class

This base class is used in all XML Web service client proxies that use HTTP. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class HttpWebClientProtocol : public System::Web::Services::Protocols::WebClientProtocol

Methods

MethodDescription
virtual CheckForCookies(System::SharedPtr<Net::HttpWebResponse>)Appends cookies from the specified request to the internal cookie container.
get_AllowAutoRedirect()Gets a value that indicates if the client follows server redirects.
get_ClientCertificates()Returns the collection of the client certificates.
get_CookieContainer()Gets a container that is used to store cookies.
get_EnableDecompression()Gets a value that indicates if decompression is enabled.
get_Proxy()Gets proxy information.
get_UnsafeAuthenticatedConnectionSharing()Gets a value that indicates if the connection sharing is enabled when the client uses NTLM authentication.
get_UserAgent()Gets a value of the ‘User-Agent’ header.
set_AllowAutoRedirect(bool)Sets a value that indicates if the client follows server redirects.
set_CookieContainer(System::SharedPtr<System::Net::CookieContainer>)Sets a container that is used to store cookies.
set_EnableDecompression(bool)Sets a value that indicates if decompression is enabled.
set_Proxy(System::SharedPtr<Net::IWebProxy>)Sets proxy information.
set_UnsafeAuthenticatedConnectionSharing(bool)Sets a value that indicates if the connection sharing is enabled when the client uses NTLM authentication.
set_UserAgent(String)Sets a value of the ‘User-Agent’ header.
UnregisterMapping(System::SharedPtr<Object>)

See Also