Session.getFeature

Gets the first feature in @session of type @feature_type. For features where there may be more than one feature of a given type, use soup_session_get_features().

class Session
getFeature
()

Parameters

featureType GType

the #GType of the feature to get

Return Value

a #SoupSessionFeature, or %NULL. The feature is owned by @session.

Meta

Since

2.26