function statusMessage(e, p) {
    switch (p.msg) {
        case "welcome":
            return; //["Connected successfully", "success"];
        case "subscribed":
            return; //["Subscription added", "info"];
        default:
            return ["Status: " + p.msg, "info"];
        }
    }
// Generate message for a status event
Generate message for a status event
Generate message for a status event
function statusMessage(e, p) {
    switch (p.msg) {
        case "welcome":
            return; 
        case "subscribed":
            return; 
        default:
            return ["Status: " + p.msg, "info"];
        }
    }
function statusMessage ( e , p ) { switch ( p . msg ) { case "welcome" : return ; case "subscribed" : return ; default : return [ "Status: " + p . msg , "info" ] ; } }
Generate message for a status event
Generate message for a status event
//["Connected successfully", "success"]; //["Subscription added", "info"];