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
-
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. First it displays loading error then it loads the page and it takes more time.Beta Was this translation helpful? Give feedback.
All reactions