3#include <system/idisposable.h>
4#include <system/object.h>
5#include <system/shared_ptr.h>
7#include <net/cookie_container.h>
8#include <net/http/http_message_handler.h>
9#include <net/iweb_proxy.h>
11namespace System {
namespace Net {
namespace Http {
25 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
27 ASPOSECPP_SHARED_RTTI_INFO_DECL();
33 ASPOSECPP_SHARED_API
void Dispose()
override;
Represents the default message handler used by the HttpClient class. Objects of this class should onl...
Definition: http_client_handler.h:18
void set_UseCookies(bool value)
Sets the value that indicates if the current instance uses the cookie container to store server cooki...
void set_Proxy(System::SharedPtr< IWebProxy > value)
Sets the proxy information.
void set_Timeout(int32_t timeout)
Gets an amount of time in milliseconds after which the request will be timed out.
System::SharedPtr< HttpResponseMessage > Send(System::SharedPtr< HttpRequestMessage > request) override
Sends the specified request.
void set_UseProxy(bool value)
Sets the value that indicates if the current instance uses the proxy for sending requests.
System::SharedPtr< System::Net::CookieContainer > get_CookieContainer()
Gets the cookie container that is used to store server cookies.
void set_CookieContainer(System::SharedPtr< System::Net::CookieContainer > value)
Sets the cookie container that is used to store server cookies.
void Dispose(bool disposing) override
Does nothing.
void set_Credentials(System::SharedPtr< ICredentials > value)
Sets the authentication information.
System::SharedPtr< ICredentials > _credentials
The authentication information.
Definition: http_client_handler.h:66
System::SharedPtr< ICredentials > get_Credentials()
Gets the authentication information.
void Dispose() override
Does nothing.
System::SharedPtr< IWebProxy > _proxy
The proxy information.
Definition: http_client_handler.h:68
System::SharedPtr< System::Net::CookieContainer > _cookieContainer
The cookie container.
Definition: http_client_handler.h:64
HttpClientHandler()
Constructs a new instance.
int32_t _timeout
Definition: http_client_handler.h:69
Represents a base type for the HTTP message handlers. Objects of this class should only be allocated ...
Definition: http_message_handler.h:18
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9