Module darwin_webkit::webkit::wk_script_message_handler
source · Expand description
Wraps the WKScriptMessageHandler protocol in Rust
Traits
Functions
- Wraps a callback of type
FnMut(id /* WKUserContentController */, id /* WKScriptMessage */)
so it can be registered onto theWKUserContentController
withWKUserContentController::addScriptMessageHandler
.