Session.setAcceptLanguage

void setAcceptLanguage(string acceptLanguage)

Set the value to use for the "Accept-Language" header on classMessages sent from session.

If accept_language is null then no "Accept-Language" will be included in requests. See propertySession:accept-language for more information.

Parameters

acceptLanguagethe languages string