sniff
Description:
[ Version ( since = "2.28" ) ]
public virtual string sniff (Message msg, Buffer buffer, out HashTable<string,string>? @params)
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.
Parameters:
| this | |
| msg |
the message to sniff |
| buffer |
a buffer containing the start of |
| params |
return location for Content-Type parameters (eg, "charset"), or |
Returns:
|
the sniffed Content-Type of |