BASS_CONFIG_NET_AGENT config option


The "User-Agent" request header sent to servers.

BASS_SetConfigPtr(
    BASS_CONFIG_NET_AGENT,
    char *agent
);

Parameters

agentThe "User-Agent" header.

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