Platforms to show: All Mac Windows Linux Cross-Platform
WinHTTPClientMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Network | MBS Win Plugin | 14.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The plugin only implements proxy related functions.
But this class could be extended to work like HTTPSocket.
- 6 properties
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorString as String
- property OptionConnectTimeOut as Integer
- property OptionProxyPassword as String
- property OptionProxyUsername as String
- 4 methods
- method Close as boolean
- method Constructor
- method GetProxyForUrl(URL as string, AutoProxyOptions as WinHTTPClientAutoProxyOptionsMBS, byref ProxyInfo as WinHTTPClientProxyInfoMBS) as boolean
- method Open(UserAgent as string, AccessType as Integer, ProxyName as string = "", ProxyByPass as string = "") as boolean
- 7 shared methods
- shared method CrackUrl(URL as string, Flags as Integer = 0) as WinHTTPClientURLComponentsMBS
- shared method DetectAutoProxyConfigUrl(AutoDetectFlags as Integer, byref AutoConfigUrl as string) as Boolean
- shared method GetDefaultProxyConfiguration as WinHTTPClientProxyInfoMBS
- shared method GetIEProxyConfigForCurrentUser as WinHTTPClientCurrentUserIEProxyConfigMBS
- shared method GetProxyForHost(URL as string, Host as string, byref proxy as string, byref proxyPort as string, AutoConfigURL as string = "") as boolean
- shared method InternetGetProxyInfo(URL as string, Host as string) as String
- shared method SetDefaultProxyConfiguration(info as WinHTTPClientProxyInfoMBS) as boolean
- 7 constants
Proxy Access Types
Constant | Value | Description |
---|---|---|
kAccessTypeDefaultProxy | 0 |
Applies only when setting proxy information. |
kAccessTypeNamedProxy | 3 |
Internet accessed using a proxy. |
kAccessTypeNoProxy | 1 |
Internet accessed through a direct connection. |
Autodetect Type Flags
Constant | Value | Description |
---|---|---|
kAutoDetectTypeDHCP | 1 |
Use DHCP to locate the proxy auto-configuration file. |
kAutoDetectTypeDNSA | 2 |
Use DNS to attempt to locate the proxy auto-configuration file at a well-known location on the domain of the local computer. |
Scheme Types
Constant | Value | Description |
---|---|---|
kInternetSchemeHTTP | 1 |
HTTP scheme. |
kInternetSchemeHTTPS | 2 |
HTTPS scheme. |
This class has no sub classes.
Some examples using this class:
Blog Entries
- MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.1
- MBS Xojo / Real Studio Plugins, version 14.1pr1
The items on this page are in the following plugins: MBS Win Plugin.
WinHTTPClientCurrentUserIEProxyConfigMBS - WinHTTPClientProxyInfoMBS