System.Net.URLClient.TProxySettings

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TProxySettings = record

C++

struct DECLSPEC_DRECORD TProxySettings
{
private:
    System::UnicodeString FHost;
    int FPort;
    System::UnicodeString FScheme;
    System::UnicodeString FUserName;
    System::UnicodeString FPassword;
    TCredentialsStorage::TCredential FCredential;
    TCredentialsStorage::TCredential __fastcall GetCredential();
public:
    __fastcall TProxySettings(const System::UnicodeString AURL)/* overload */;
    __fastcall TProxySettings(const System::UnicodeString AHost, int APort, const System::UnicodeString AUserName, const System::UnicodeString APassword, const System::UnicodeString AScheme)/* overload */;
    __property System::UnicodeString Host = {read=FHost, write=FHost};
    __property int Port = {read=FPort, write=FPort};
    __property System::UnicodeString Scheme = {read=FScheme, write=FScheme};
    __property System::UnicodeString UserName = {read=FUserName, write=FUserName};
    __property System::UnicodeString Password = {read=FPassword, write=FPassword};
    __property TCredentialsStorage::TCredential Credential = {read=GetCredential};
    TProxySettings() {}
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.Net.URLClient.pas
System.Net.URLClient.hpp
System.Net.URLClient System.Net.URLClient

Description

TProxySettings is a record type with the proxy settings which the URLClient uses.

To use TProxySettings, define the following arguments:

  • Host used as proxy.
  • Communication Port to the proxy.
  • URI Scheme to be used with the proxy, eg. HTTP or HTTPS.
  • The proxy’s UserName and Password.
  • Credential information, constructed with ProxySettings.

See Also