Networking_Proxy_Create Function
Header: #include <applibs/networking.h>
Creates a Networking_ProxyConfig struct with the default proxy configuration. By default the proxy configuration option is set to Networking_ProxyOptions_Enabled and the proxy type is set to Networking_ProxyType_HTTP.
Networking_ProxyConfig *Networking_Proxy_Create();
Parameters
proxyConfig
A pointer to the Networking_ProxyConfig struct that will contain the default proxy configuration.
Returns
On success: A pointer to the Networking_ProxyConfig struct with the default proxy configuration.
On failure: NULL.
Remarks
When the Networking_ProxyConfig struct is no longer needed, the Networking_Proxy_Destroy function must be called on the struct to avoid resource leaks.