How do I add custom schema with host part like in CefRegisterSchemeHandlerFactory ? #4906
Unanswered
valapran-flutterint
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In CEF I can add custom schema to existing protocol such as http
CefRegisterSchemeHandlerFactory(L"http", L"test", new SchemeHandlerFactory);
How do I achieve the same using WebView?I know there is
AddWebResourceRequestedFilter
and I can filter out requests, but is not working well if I register a callback withadd_WebResourceRequested
and useICoreWebView2WebResourceRequestedEventArgs::GetDeferral
to complete the task async. It loads the page and it takes more time at least 2 secBeta Was this translation helpful? Give feedback.
All reactions