connectUserMessageReceived
fun connectUserMessageReceived(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (message: UserMessage) -> Boolean): <Error class: unknown class>
This signal is emitted when a #WebKitUserMessage is received from the #WebKitWebPage corresponding to @web_view. You can reply to the message using webkit_user_message_send_reply().
You can handle the user message asynchronously by calling g_object_ref() on
Since
2.28
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: message
the #WebKitUserMessage received. Returns true if the message was handled, or false otherwise.