loadBytes
open fun loadBytes(bytes: <Error class: unknown class>, mimeType: String? = null, encoding: String? = null, baseUri: String? = 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.
Since
2.6
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