Forum Discussion
janstuchlik
Jan 29, 2021Copper Contributor
WebView2 Websockets events
Hi, I cannot find right forum, so I am using this, sorry, if it is not right place.
I am using WebView2 component in WPF application from Microsoft.Web.WebView2 1.0.721 nuget package, with installed "Evergreen" MS Edge WebView2 runtime (currently in version 88.0.705.56).
When using events WebResourceRequested (with filter *, All) or WebResourceResponseReceived,
there is nothing about WebSockets - either Request nor Response. All other requests are successfully handled, but Websockets no.
When I popup dev tools using F12 from my application, "Network" tab is showing websockets
101 Switching Protocols response + Messages "subtab" with all websocket messages captured.
So my question is - can Edge fire websocket application events? Is it propagated to WebView2 layer? Is it reflected in .NET wrapper around it?
Thank you,
Jan
- LingAmy
Microsoft
janstuchlik , could you please post your questions at MicrosoftEdge/WebView2Feedback: Feedback repo for Microsoft Edge WebView2 (github.com)? Thanks!
- janstuchlikCopper Contributor
Thank you very much, this really helped me to find that someone already find same issue.
Jan
- LingAmy
Microsoft
janstuchlik , that's great to know! Thanks for using WebView2!