{"action":"opened","issue":{"url":"https://api.github.com/repos/krakenjs/post-robot/issues/53","repository_url":"https://api.github.com/repos/krakenjs/post-robot","labels_url":"https://api.github.com/repos/krakenjs/post-robot/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/krakenjs/post-robot/issues/53/comments","events_url":"https://api.github.com/repos/krakenjs/post-robot/issues/53/events","html_url":"https://github.com/krakenjs/post-robot/issues/53","id":308443287,"number":53,"title":"support for retry on handshake failure","user":{"login":"zacyang","id":898449,"avatar_url":"https://avatars1.githubusercontent.com/u/898449?v=4","gravatar_id":"","url":"https://api.github.com/users/zacyang","html_url":"https://github.com/zacyang","followers_url":"https://api.github.com/users/zacyang/followers","following_url":"https://api.github.com/users/zacyang/following{/other_user}","gists_url":"https://api.github.com/users/zacyang/gists{/gist_id}","starred_url":"https://api.github.com/users/zacyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacyang/subscriptions","organizations_url":"https://api.github.com/users/zacyang/orgs","repos_url":"https://api.github.com/users/zacyang/repos","events_url":"https://api.github.com/users/zacyang/events{/privacy}","received_events_url":"https://api.github.com/users/zacyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T06:06:53Z","updated_at":"2018-03-26T06:06:53Z","closed_at":null,"author_association":"NONE","body":"Hi krakenjs,\r\nI am working on a hybrid project, where we have a react host app hosting an old app (in angular ) in an iframe.\r\n\r\nHowever, the angular app (in the iframe) is a complex application which takes an indefinite time (depends on the client machine and the network) to become fully functional.\r\n\r\nIt would be nice if post-robot could handle a scenario like.\r\n\r\n> postRobot.send(iframe, {data:'hello'}, {timeout: 1000, retry:3});\r\n\r\nwhere `retry` is the max retry( the request will only be sent once).\r\n\r\nI could not find any similar functionality in post-robot. And I am happy to create PR for this functionality if it not already been taken care of.\r\n\r\n\r\n"}}
{"actor":{"display_login":"zacyang"}}