Firelight Technologies FMOD Studio API
System::setNetworkProxy
Set a proxy server to use for all subsequent internet connections.
C++ Syntax
FMOD_RESULT System::setNetworkProxy(
const char *proxy
);
C Syntax
FMOD_RESULT FMOD_System_SetNetworkProxy(
FMOD_SYSTEM *system,
const char *proxy
);
C# Syntax
RESULT System.setNetworkProxy(
string proxy
);
JavaScript Syntax
System.setNetworkProxy(
proxy
);
Parameters
- proxy
- The name of a proxy server encoded as a UTF-8 string in host:port format e.g. www.fmod.org:8888 (defaults to port 80 if no port is specified).
Return Values
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
Remarks
Basic authentication is supported. To use it, this parameter must be in user:password@host:port format e.g. bob:[email protected]:8888 Set this parameter to 0 / NULL if no proxy is required.
See Also
Version 1.10.03 Built on Feb 1, 2018