ContentSniffer


Object Hierarchy:

Soup.ContentSniffer Soup.ContentSniffer Soup.ContentSniffer GLib.Object GLib.Object GLib.Object->Soup.ContentSniffer Soup.SessionFeature Soup.SessionFeature Soup.SessionFeature->Soup.ContentSniffer

Description:

[ CCode ( type_id = "soup_content_sniffer_get_type ()" ) ]
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-headerss] signal. ContentSniffer implements [iface@SessionFeature], so you can add content sniffing to a session with [ [email protected]_feature] or [[email protected]_feature_by_type].


Namespace: Soup
Package: libsoup-3.0

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org