ContentSniffer
Object Hierarchy:
Description:
[ CCode ( type_id = "soup_content_sniffer_get_type ()" ) ]
public sealed class ContentSniffer : Object, SessionFeature
public sealed class ContentSniffer : Object, SessionFeature
Sniffs the mime type of messages.
A ContentSniffer tries to detect the actual content type of the files that are being downloaded by looking at some
of the data before the [class@Message] emits its [signal@Message:SoupContentSniffer:got-headers
s] signal.
ContentSniffer implements [iface@SessionFeature], so you can add content sniffing to a session with [method@Session.add_feature] or [
method@Session.add_feature_by_type].
Namespace: Soup
Package: libsoup-3.0
Content:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object