Class
SoupContentSniffer
Description [src]
final class Soup.ContentSniffer : GObject.Object {
/* No available fields */
}
Sniffs the mime type of messages.
A SoupContentSniffer
tries to detect the actual content type of
the files that are being downloaded by looking at some of the data
before the SoupMessage
emits its SoupMessage::got-headers
signal.
SoupContentSniffer
implements SoupSessionFeature
, so you can add
content sniffing to a session with soup_session_add_feature()
or
soup_session_add_feature_by_type()
.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.