API Notes: CFNetwork framework¶
The full API is described in Apple’s documentation, both the C and Objective-C APIs are available (but see the API Notes below).
These bindings are accessed through the CFNetwork package (that is, import CFNetwork).
API Notes¶
CFHTTPReadStreamSetRedirectsAutomaticallyThis API was removed in macOS 10.15.
CFNetServiceGetProtocolSpecificInformationThis API was removed in macOS 10.15.
CFNetServiceSetProtocolSpecificInformationThis API was removed in macOS 10.15.
CFNetworkExecuteProxyAutoConfigurationScriptandCFNetworkExecuteProxyAutoConfigurationURLThe
contextargument can be an arbitrary Python object.CFHostSetClientThe
contextargument can be an arbitrary Python object, in particular the creation of aCFHostClientContextis performed by the bridge and is not exposed to Python.CFNetServicesSetClient`
The
contextargument can be an arbitrary Python object, in particular the creation of aCFNetServiceClientContextis performed by the bridge and is not exposed to Python.CFNetServiceBrowserCreateThe
clientContextargument can be an arbitrary python objectCFNetServiceSetClientThe
clientContextargument can be an arbitrary python objectCFNetServiceMonitorCreateThe
clientContextargument can be an arbitrary python object