Session.acceptLanguage

Get acceptLanguage property.

  1. string acceptLanguage [@property getter]
    class Session
    @property
    string
    acceptLanguage
    ()
  2. string acceptLanguage [@property setter]

Return Value

Type: string

If non-null, the value to use for the "Accept-Language" header on class@Messages sent from this session.

Setting this will disable property@Session:accept-language-auto.