setAcceptLanguage

open fun setAcceptLanguage(acceptLanguage: String)

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

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

Parameters

acceptLanguage

the languages string