"Mobile friendly" version in Wt
I have a C app with Wt running on it and serving web pages. So far so good.
What I'd like to know is if it's possible from inside my app to detect what kind of client is asking for a connection and if, say for example an iPhone, is asking for it, "produce" a "mobile friendly" version of my web pages.
If possible, what would be the "best practice" for my case?
I guess something inside the Wt::Http namespace might work for me, but I thought better to ask Wt "gurus" first ;)
RE: "Mobile friendly" version in Wt - Added by Wim Dumon almost 10 years ago
You can query the agent from WEnvironment.