Edit

Share via


CFNetwork.GetProxiesForAutoConfigurationScript Method

Definition

Overloads

GetProxiesForAutoConfigurationScript(NSString, NSUrl)

Executes the provided javascript source to determine a list of proxies to use for connecting to the target URL.

GetProxiesForAutoConfigurationScript(NSString, Uri)

Executes the provided javascript source to determine a list of proxies to use for connecting to the target URL.

GetProxiesForAutoConfigurationScript(NSString, NSUrl)

Executes the provided javascript source to determine a list of proxies to use for connecting to the target URL.

public static CoreFoundation.CFProxy[] GetProxiesForAutoConfigurationScript (Foundation.NSString proxyAutoConfigurationScript, Foundation.NSUrl targetURL);
static member GetProxiesForAutoConfigurationScript : Foundation.NSString * Foundation.NSUrl -> CoreFoundation.CFProxy[]

Parameters

proxyAutoConfigurationScript
NSString

JavaScript source to be executed to obtain a list of proxies to use.

targetURL
NSUrl

The target URL to connect to.

Returns

Returns an array of CFProxy objects suitable to use for connecting to targetURL.

Remarks

See also: GetProxiesForURL(NSUrl, CFProxySettings)

Applies to

GetProxiesForAutoConfigurationScript(NSString, Uri)

Executes the provided javascript source to determine a list of proxies to use for connecting to the target URL.

public static CoreFoundation.CFProxy[] GetProxiesForAutoConfigurationScript (Foundation.NSString proxyAutoConfigurationScript, Uri targetUri);
static member GetProxiesForAutoConfigurationScript : Foundation.NSString * Uri -> CoreFoundation.CFProxy[]

Parameters

proxyAutoConfigurationScript
NSString

JavaScript source to be executed to obtain a list of proxies to use.

targetUri
Uri

Returns

Returns an array of CFProxy objects suitable to use for connecting to targetURL.

Remarks

This method serves as a convenience wrapper for M:CoreFoundation.CFNetwork.GetProxiesForAutoConfigureationScript(Foundation.NSString proxyAutoConfigurationScript, Uri targetUri).

Applies to