Commit 81c598c5 authored by jan.koester's avatar jan.koester
Browse files

example for mobile detection

parent 72bbe548
Loading
Loading
Loading
Loading
+2 −0
Changes for examples/httpcon.cpp: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -50,6 +50,8 @@ void sendResponse(netplus::con *curcon,libhttppp::HttpRequest *curreq) {
             << "    <style></style>"
             << "  </head>"
             << "<body>";
     if(curreq->isMobile())
         condat << "<span>You are using a mobile Browser!</span>";
     for(libhttppp::HttpHeader::HeaderData *preq = curreq->getfirstHeaderData(); preq; preq=curreq->nextHeaderData(preq)){
       condat  << curreq->getKey(preq) 
               << ": "