How for SM to watch CefBrowser request handler Url #593
Unanswered
mwpowellhtx
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.
-
I have an interesting problem. I am writing a WPF shell around basically a specific for purpose web site. For the most part, I am able to interact with the pages successfully via
CefSharp
andCefSharp.Dom
. Great appliances in an of themselves; cannot say enough how easy they are to use.I have a usecase that I want to put some SM comprehension around the sign in process; signing in, signed in, logging out, failure conditions, so on and so forth. It is easy enough to identify, potentially, the enumerations involved. However, what I do not understand is, the SM cannot be that actively involved; in fact, I think the best possible placement of the instance is serving a custom
CefSharp.Handler.RequestHandler
, waiting for specificCefSharp.IRequest.Url
to happen in order to trigger, if you will, the next state, or at least a transition.Assuming I can wire up the correct sort of response, I think perhaps SM could liven things up and help facilitate key transitions, messaging, or what not, throughout the view model states.
However, I am not easily finding how this sort of passive monitoring may be accomplished. Perhaps I am missing something, is there an example of such, perhaps?
Cheers thanks... 🍻
Beta Was this translation helpful? Give feedback.
All reactions