user_message_received


Description:

[ Version ( since = "2.28" ) ]
public signal bool user_message_received (UserMessage message)

This signal is emitted when a UserMessage is received from the WebKitWebView corresponding to web_page.

You can reply to the message using send_reply.

You can handle the user message asynchronously by calling @ref on message and returning true. If the last reference of message is removed and the message has been replied, the operation in the WebKitWebView will finish with error webkit_user_message_unhandled_message .

Parameters:

message

the UserMessage received

Returns:

true if the message was handled, or false otherwise.