[ Version ( since = "2.28" ) ]
public virtual string sniff (Message msg, Buffer buffer, out HashTable<string,string>? @params)
Sniffs buffer
to determine its Content-Type.
The result may also be influenced by the Content-Type declared in msg
's response headers.
this | |
msg |
the message to sniff |
buffer |
a buffer containing the start of |
params |
return location for Content-Type parameters (eg, "charset"), or |
the sniffed Content-Type of |