Session.hasFeature

Tests if @session has at a feature of type @feature_type (which can be the type of either a #SoupSessionFeature, or else a subtype of some class managed by another feature, such as #SoupAuth or #SoupRequest).

class Session
bool
hasFeature
()

Parameters

featureType GType

the #GType of the class of features to check for

Return Value

Type: bool

%TRUE or %FALSE

Meta

Since

2.42