Content
Sniffer
Class
constructor
parent_
class
name
get_
buffer_
size
sniff
GJS API Reference
Soup-2.4
Soup
ContentSnifferClass
Class ContentSnifferClass
Hierarchy
ContentSnifferClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
get_
buffer_
size
sniff
Constructors
constructor
new
Content
Sniffer
Class
(
)
:
Soup
.
ContentSnifferClass
Returns
Soup
.
ContentSnifferClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
get_
buffer_
size
get_
buffer_
size
(
sniffer
:
Soup
.
ContentSniffer
)
:
number
Parameters
sniffer:
Soup
.
ContentSniffer
Returns
number
sniff
sniff
(
sniffer
:
Soup
.
ContentSniffer
, msg
:
Soup
.
Message
, buffer
:
Soup
.
Buffer
)
:
[
string
,
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
]
Parameters
sniffer:
Soup
.
ContentSniffer
msg:
Soup
.
Message
buffer:
Soup
.
Buffer
Returns
[
string
,
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
]
Content
Sniffer
Class
constructor
parent_
class
name
get_
buffer_
size
sniff
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLkNvbnRlbnRTbmlmZmVyQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IlNvdXBfMl80LlNvdXAuQ29udGVudFNuaWZmZXJDbGFzcy5odG1sI3BhcmVudF9jbGFzcyIsIm5hbWUiOiJwYXJlbnRfY2xhc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