getFeatureForMessage

open fun getFeatureForMessage(featureType: <Error class: unknown class>, msg: Message): SessionFeature?

Gets the feature in @session of type @feature_type, provided that it is not disabled for @msg.

Return

a #SoupSessionFeature. The feature is owned by @session.

Parameters

featureType

the #GType of the feature to get

msg

a #SoupMessage