sendMessageToPage
open fun sendMessageToPage(message: UserMessage, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)
Send @message to the #WebKitWebPage corresponding to @web_view.
If @message is floating, it's consumed. If you don't expect any reply, or you simply want to ignore it, you can pass null as @callback. When the operation is finished, @callback will be called. You can then call webkit_web_view_send_message_to_page_finish() to get the message reply.
Since
2.28
Parameters
message
a #WebKitUserMessage
cancellable
a #GCancellable or null to ignore
callback
(nullable): A #GAsyncReadyCallback to call when the request is satisfied or null