CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
iweb_proxy.h
1
2#pragma once
3
4#include <system/shared_ptr.h>
5#include <system/object.h>
6
7#include <net/icredentials.h>
8
9namespace System {
10namespace Net {
11
16class ASPOSECPP_SHARED_CLASS IWebProxy : virtual public System::Object
17{
19 typedef IWebProxy ThisType;
22
24 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
26 ASPOSECPP_SHARED_RTTI_INFO_DECL();
27
28public:
31 virtual ASPOSECPP_SHARED_API System::SharedPtr<ICredentials> get_Credentials() = 0;
34 virtual ASPOSECPP_SHARED_API void set_Credentials(System::SharedPtr<ICredentials> value) = 0;
35
39 virtual ASPOSECPP_SHARED_API System::SharedPtr<Uri> GetProxy(System::SharedPtr<Uri> destination) = 0;
43 virtual ASPOSECPP_SHARED_API bool IsBypassed(System::SharedPtr<Uri> host) = 0;
44};
45} // namespace Net
46} // namespace System
This interface used for implementation of proxy access to the WebRequest class. Objects of this class...
Definition: iweb_proxy.h:17
virtual System::SharedPtr< ICredentials > get_Credentials()=0
Gets credentials for authentication on the proxy server.
virtual System::SharedPtr< Uri > GetProxy(System::SharedPtr< Uri > destination)=0
Returns the proxy URI.
virtual void set_Credentials(System::SharedPtr< ICredentials > value)=0
Sets credentials for authentication on the proxy server.
virtual bool IsBypassed(System::SharedPtr< Uri > host)=0
Returns a value that indicates if the proxy must not be used for the specified host.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
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