addFeature

open fun addFeature(feature: SessionFeature)

Adds @feature's functionality to @session. You cannot add multiple features of the same alias@GObject.Type to a session.

See the main #SoupSession documentation for information on what features are present in sessions by default.

Parameters

feature

an object that implements #SoupSessionFeature