SessionFeatureT.addFeature

Adds a "sub-feature" of type @type to the base feature @feature. This is used for features that can be extended with multiple different types. Eg, the authentication manager can be extended with subtypes of #SoupAuth.

template SessionFeatureT(TStruct)
bool
addFeature
(
GType type
)

Parameters

type GType

the #GType of a "sub-feature"

Return Value

Type: bool

%TRUE if @feature accepted @type as a subfeature.

Meta

Since

2.34