load_bytes


Description:

[ Version ( since = "2.6" ) ]
public void load_bytes (Bytes bytes, string? mime_type, string? encoding, string? base_uri)

Load the specified bytes into this 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 load_changed signal.

Parameters:

this

a WebView

bytes

input data to load

mime_type

the MIME type of bytes, or null

encoding

the character encoding of bytes, or null

base_uri

the base URI for relative locations or null




2022 vala-language.org