ContentSniffer

class ContentSniffer(val soupContentSnifferPointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature(source)

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 class@Message emits its signal@Message::got-headers signal. #SoupContentSniffer implements iface@SessionFeature, so you can add content sniffing to a session with method@Session.add_feature or method@Session.add_feature_by_type.

Skipped during bindings generation

  • parameter params: params: Out parameter is not supported

Constructors

Link copied to clipboard
constructor()

Creates a new #SoupContentSniffer.

constructor(soupContentSnifferPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val soupContentSnifferPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val soupSessionFeaturePointer: <Error class: unknown class><<Error class: unknown class>>