If you don't have a connection to Pubnub for a while, once you do get it, your subscribe will get all the messages published in the meantime, provided that:
- You had one successful subscribe on that context.
- There were no more than a 100 messages on the
channel(s) in the meantime (in which case you will get 100).
If you don't have a successful subscribe, you can use the history transaction to get messages published on the
channel(s) to fetch the earlier messages. For more details on history please see pubnub_history() and pubnub_history_ex().