3#include <security/cryptography/x509_certificates/x509_certificate_collection.h>
4#include <system/iasyncresult.h>
5#include <system/object.h>
6#include <system/shared_ptr.h>
7#include <system/type_info.h>
9#include <net/cookie_container.h>
10#include <net/http_web_response.h>
11#include <net/iweb_proxy.h>
12#include <net/web/services/protocol/web_client_protocol.h>
14namespace System {
namespace Web {
namespace Services {
namespace Protocols {
87 bool allowAutoRedirect;
89 bool enableDecompression;
99 bool _unsafeAuthenticated;
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
This base class is used in all XML Web service client proxies that use HTTP. Objects of this class sh...
Definition: http_web_client_protocol.h:21
HttpWebClientProtocol()
Constructs a new instance.
System::SharedPtr< Net::WebResponse > GetWebResponse(System::SharedPtr< Net::WebRequest > request, System::SharedPtr< IAsyncResult > result) override
Creates a WebResponse-class instance for the specified request.
bool get_EnableDecompression()
Gets a value that indicates if decompression is enabled.
void set_UserAgent(String value)
Sets a value of the 'User-Agent' header.
System::SharedPtr< Net::IWebProxy > get_Proxy()
Gets proxy information.
System::SharedPtr< Net::WebRequest > GetWebRequest(System::SharedPtr< Uri > uri) override
Creates a WebRequest-class instance for the specified URI.
void set_CookieContainer(System::SharedPtr< System::Net::CookieContainer > value)
Sets a container that is used to store cookies.
void set_EnableDecompression(bool value)
Sets a value that indicates if decompression is enabled.
void set_Proxy(System::SharedPtr< Net::IWebProxy > value)
Sets proxy information.
void set_UnsafeAuthenticatedConnectionSharing(bool value)
Sets a value that indicates if the connection sharing is enabled when the client uses NTLM authentica...
bool get_UnsafeAuthenticatedConnectionSharing()
Gets a value that indicates if the connection sharing is enabled when the client uses NTLM authentica...
bool get_AllowAutoRedirect()
Gets a value that indicates if the client follows server redirects.
void UnregisterMapping(System::SharedPtr< Object > userState)
String get_UserAgent()
Gets a value of the 'User-Agent' header.
void CancelAsync(System::SharedPtr< Object > userState)
void set_AllowAutoRedirect(bool value)
Sets a value that indicates if the client follows server redirects.
virtual void CheckForCookies(System::SharedPtr< Net::HttpWebResponse > response)
Appends cookies from the specified request to the internal cookie container.
System::SharedPtr< Net::WebResponse > GetWebResponse(System::SharedPtr< Net::WebRequest > request) override
Creates a WebResponse-class instance for the specified request.
System::SharedPtr< System::Net::CookieContainer > get_CookieContainer()
Gets a container that is used to store cookies.
System::SharedPtr< Security::Cryptography::X509Certificates::X509CertificateCollection > get_ClientCertificates()
Returns the collection of the client certificates.
This base class is used in all XML Web service client proxies that were created using ASP....
Definition: web_client_protocol.h:20
Definition: db_command.h:9