hi sir, i use RESTclient and restponse,. i used it for pubnub url, with subscribe service. base url and resource url was: http://pubsub.pubnub.com/subscribe/sub-c-59da8edc-293b-11e6-b700-0619f8945a4f/Channel-YOGYA/0/0 . and with new timetoken, i used for new resource request.

hi sir, i use RESTclient and restponse,. i used it for pubnub url, with subscribe service. base url and resource url was: http://pubsub.pubnub.com/subscribe/sub-c-59da8edc-293b-11e6-b700-0619f8945a4f/Channel-YOGYA/0/0 . and with new timetoken, i used for new resource request.

http://pubsub.pubnub.com/subscribe/sub-c-59da8edc-293b-11e6-b700-0619f8945a4f/Channel-YOGYA/0/14660368966213940


after response.execute , program still waiting data to received, and be error not response.cause no new data was coming.
my question, how to handled REstRespont timeout, so the program will not hang/error. thanks

my pict program:https://pbs.twimg.com/media/Ck_4grjUYAAec9k.jpg

http://pubsub.pubnub.com/subscribe/sub-c-59da8edc-293b-11e6-b700-0619f8945a4f/Channel-YOGYA/0/0

Comments