NM.SettingProxy¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingProxy(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
WWW Proxy Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingProxyobject- Return type:
Creates a new
NM.SettingProxyobject.New in version 1.6.
- get_browser_only()¶
- Returns:
Trueif this proxy configuration is only for browser clients/schemes,Falseotherwise.- Return type:
New in version 1.6.
- get_method()¶
- Returns:
the proxy configuration method
- Return type:
Returns the proxy configuration method. By default the value is
NM.SettingProxyMethod.NONE.NM.SettingProxyMethod.NONEshould be selected for a connection intended for direct network access.New in version 1.6.
Property Details¶
- NM.SettingProxy.props.browser_only¶
- Name:
browser-only- Type:
- Default Value:
- Flags:
Whether the proxy configuration is for browser only.
New in version 1.6.
- NM.SettingProxy.props.method¶
- Name:
method- Type:
- Default Value:
0- Flags:
Method for proxy configuration, Default is
NM.SettingProxyMethod.NONENew in version 1.6.
- NM.SettingProxy.props.pac_script¶
- Name:
pac-script- Type:
- Default Value:
- Flags:
PAC script for the connection. This is an UTF-8 encoded javascript code that defines a FindProxyForURL() function.
New in version 1.6.