WebView.loadBytes
void loadBytes(glib.bytes.Bytes bytes, string mimeType = null, string encoding = null, string baseUri = null)Load the specified bytes into web_view using the given mime_type and encoding.
When mime_type is null, it defaults to "text/html". When encoding is null, it defaults to "UTF-8". When base_uri is null, it defaults to "about:blank". You can monitor the load operation by connecting to #WebKitWebView::load-changed signal.
Parameters
bytes | input data to load |
mimeType | the MIME type of bytes, or null |
encoding | the character encoding of bytes, or null |
baseUri | the base URI for relative locations or null |