private void OnAuthenticated()
{
while (listOfNotificationsForSending.Count > 0)
{
Dictionary<string, string> notification = listOfNotificationsForSending[0];
listOfNotificationsForSending.RemoveAt(0);
SendNotification(notification[channelURIKey], notification[payloadKey]);
}
}
private void HandleError(HttpStatusCode errorCode, string channelURI, string payload)