Replies: 1 comment
-
Hello, any update here? As a workaround, we used AutoResetEvent (WaitOne and Set) to signal that the response is already available, and it can be processed. But we have this use-case, wherein a request stays pending (polling) while the page waits for an update (and will be automatically refreshed when the update is available). Unfortunately, the AutoResetEvent doesn't fit to this case and the application freezes with the open pending request. Question: does WebView2 support something like this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are currently in the process of replacing CEF with WebView2 in our WinForms app.
We are using a custom scheme, and we are getting all the resources (html, css, js, etc) from our database. A CefResourceHandler was defined to intercept the custom scheme request and we are using a callback listener to be invoked once the requested resource is ready. Then, in the callback method, the CefCallback.Continue function is executed for the process to proceed.
Just wondering if there is an equivalent of the CefCallback.Continue function in WebView2?
How do you suggest handling a callback before setting the response in the WebResourceRequested event?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions