MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Browser / PostJsonToWebView

Method PostJsonToWebView

BrowserWindow.cpp:954–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

952}
953
954HRESULT BrowserWindow::PostJsonToWebView(web::json::value jsonObj, ICoreWebView2* webview)
955{
956 utility::stringstream_t stream;
957 jsonObj.serialize(stream);
958
959 return webview->PostWebMessageAsJson(stream.str().c_str());
960}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected