Record TInternetConfig
Unit
Declaration
type TInternetConfig = record
Description
Internet configuration
Not all options are supported by all backends. Compatibility matrix:
option |
wininet (w32) |
synapse |
OkHttp for Android |
(Android) Apache HttpComponents |
---|---|---|---|---|
yes |
yes |
yes |
yes |
|
yes |
no |
no |
no |
|
http proxy |
yes |
yes |
no |
yes |
https proxy |
yes |
should use http proxy |
no |
should use http proxy |
socks proxy |
yes |
yes |
no |
no |
proxy user/pass |
same auth for all proxies |
separate for http and socks |
no |
no |
yes |
yes |
no, depends on Android |
no, depends on Android |
|
no, uses system CA |
yes |
no |
no |
You can always set more options on the internalHandle returned by TInternetAccess.
Overview
Fields
![]() |
userAgent: string; |
![]() |
tryDefaultConfig: boolean; |
![]() |
useProxy: Boolean; |
![]() |
proxyHTTPName: string; |
![]() |
proxyHTTPPort: string; |
![]() |
proxyHTTPSName: string; |
![]() |
proxyHTTPSPort: string; |
![]() |
proxySOCKSName: string; |
![]() |
proxySOCKSPort: string; |
![]() |
proxyUsername: string; |
![]() |
proxyPassword: string; |
![]() |
connectionCheckPage: string; |
![]() |
checkSSLCertificates: boolean; |
![]() |
CAFile: string; |
![]() |
CAPath: string; |
![]() |
logToPath: string; |
Methods
![]() |
procedure setProxy(proxy: string); |
![]() |
procedure searchCertificates; |
![]() |
function equalsUserAgent(const otherConfig: TInternetConfig): boolean; |
![]() |
function equalsProxy(const otherConfig: TInternetConfig): boolean; |
Description
Fields
![]() |
userAgent: string; |
the user agent used when connecting |
![]() |
tryDefaultConfig: boolean; |
should the system default configuration be used |
![]() |
useProxy: Boolean; |
should a proxy be used |
![]() |
proxyHTTPName: string; |
proxy used for HTTP |
![]() |
proxyHTTPPort: string; |
proxy used for HTTP |
![]() |
proxyHTTPSName: string; |
proxy used for HTTPS |
![]() |
proxyHTTPSPort: string; |
proxy used for HTTPS |
![]() |
proxySOCKSName: string; |
socks proxy |
![]() |
proxySOCKSPort: string; |
socks proxy |
![]() |
proxyUsername: string; |
![]() |
proxyPassword: string; |
![]() |
connectionCheckPage: string; |
url we should open to check if an internet connection exists (e.g. http://google.de) |
![]() |
checkSSLCertificates: boolean; |
If ssl certificates should be checked in HTTPS connections |
![]() |
CAFile: string; |
CA certificates when using OpenSSL |
![]() |
CAPath: string; |
CA certificates when using OpenSSL |
![]() |
logToPath: string; |
Methods
![]() |
procedure setProxy(proxy: string); |
![]() |
procedure searchCertificates; |
![]() |
function equalsUserAgent(const otherConfig: TInternetConfig): boolean; |
![]() |
function equalsProxy(const otherConfig: TInternetConfig): boolean; |
Generated by PasDoc 0.16.0.