BASS_CONFIG_NET_PROXY config option


Proxy server settings.

BASS_SetConfigPtr(
    BASS_CONFIG_NET_PROXY,
    char *proxy
);

Parameters

proxyThe proxy server settings, in the form of "user:pass@server:port"... NULL = don't use a proxy. "" (empty string) = use the OS's default proxy settings. If only the "user:pass@" part is specified, then those authorization credentials are used with the default proxy server. If only the "server:port" part is specified, then that proxy server is used without any authorization credentials.

Remarks

BASS_SetConfigPtr makes a copy of the provided string, so it does not need to persist beyond the call. Changes take effect from the next internet stream creation call.

Platform-specific

On Windows and Windows CE, the BASS_UNICODE flag can be used with a UTF-16 string ("wchar_t" rather than "char").

See also

BASS_GetConfigPtr, BASS_SetConfigPtr, BASS_StreamCreateURL