Session.acceptLanguageAuto

Set acceptLanguageAuto property.

  1. bool acceptLanguageAuto [@property getter]
  2. bool acceptLanguageAuto [@property setter]
    class Session
    @property
    void
    acceptLanguageAuto
    (
    bool propval
    )

Parameters

propval bool

If true, #SoupSession will automatically set the string for the "Accept-Language" header on every class@Message sent, based on the return value of func@GLib.get_language_names.

Setting this will override any previous value of property@Session:accept-language.