{"action":"created","comment":{"url":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/comments/100837406","pull_request_review_id":21553497,"id":100837406,"diff_hunk":"@@ -212,6 +214,9 @@ the `connect` event. Typically a `net.Socket`.\n     * `payload`: the message to publish\n     * `qos`: the QoS\n     * `retain`: the retain flag\n+  * `transformWsUrl` : optional `(url, options, client) => url` function\n+        For wss/wss protocols only. Can be used to implement resigning expired","path":"README.md","position":25,"original_position":25,"commit_id":"b0cc1801f672367c6d3233a3ce31f8c4caada511","original_commit_id":"b0cc1801f672367c6d3233a3ce31f8c4caada511","user":{"login":"mcollina","id":52195,"avatar_url":"https://avatars.githubusercontent.com/u/52195?v=3","gravatar_id":"","url":"https://api.github.com/users/mcollina","html_url":"https://github.com/mcollina","followers_url":"https://api.github.com/users/mcollina/followers","following_url":"https://api.github.com/users/mcollina/following{/other_user}","gists_url":"https://api.github.com/users/mcollina/gists{/gist_id}","starred_url":"https://api.github.com/users/mcollina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcollina/subscriptions","organizations_url":"https://api.github.com/users/mcollina/orgs","repos_url":"https://api.github.com/users/mcollina/repos","events_url":"https://api.github.com/users/mcollina/events{/privacy}","received_events_url":"https://api.github.com/users/mcollina/received_events","type":"User","site_admin":false},"body":"this should read `ws/wss`","created_at":"2017-02-13T16:40:23Z","updated_at":"2017-02-13T16:40:23Z","html_url":"https://github.com/mqttjs/MQTT.js/pull/539#discussion_r100837406","pull_request_url":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/539","_links":{"self":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/comments/100837406"},"html":{"href":"https://github.com/mqttjs/MQTT.js/pull/539#discussion_r100837406"},"pull_request":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/539"}}},"pull_request":{"url":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/539","id":105790047,"html_url":"https://github.com/mqttjs/MQTT.js/pull/539","diff_url":"https://github.com/mqttjs/MQTT.js/pull/539.diff","patch_url":"https://github.com/mqttjs/MQTT.js/pull/539.patch","issue_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/539","number":539,"state":"open","locked":false,"title":"Add transformWsUrl option, and fix some travis/browser test issues","user":{"login":"sublimator","id":525211,"avatar_url":"https://avatars.githubusercontent.com/u/525211?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimator","html_url":"https://github.com/sublimator","followers_url":"https://api.github.com/users/sublimator/followers","following_url":"https://api.github.com/users/sublimator/following{/other_user}","gists_url":"https://api.github.com/users/sublimator/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimator/subscriptions","organizations_url":"https://api.github.com/users/sublimator/orgs","repos_url":"https://api.github.com/users/sublimator/repos","events_url":"https://api.github.com/users/sublimator/events{/privacy}","received_events_url":"https://api.github.com/users/sublimator/received_events","type":"User","site_admin":false},"body":"Testing Travis and saucelabs\r\n\r\nFixes #538 \r\nFixes #535 \r\nFixes #537 ","created_at":"2017-02-12T12:48:14Z","updated_at":"2017-02-13T16:40:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31c7134d91f26dce025e3c2cf7ccd056bd0c3c38","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/539/commits","review_comments_url":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/539/comments","review_comment_url":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/539/comments","statuses_url":"https://api.github.com/repos/mqttjs/MQTT.js/statuses/b0cc1801f672367c6d3233a3ce31f8c4caada511","head":{"label":"sublimator:niqs","ref":"niqs","sha":"b0cc1801f672367c6d3233a3ce31f8c4caada511","user":{"login":"sublimator","id":525211,"avatar_url":"https://avatars.githubusercontent.com/u/525211?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimator","html_url":"https://github.com/sublimator","followers_url":"https://api.github.com/users/sublimator/followers","following_url":"https://api.github.com/users/sublimator/following{/other_user}","gists_url":"https://api.github.com/users/sublimator/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimator/subscriptions","organizations_url":"https://api.github.com/users/sublimator/orgs","repos_url":"https://api.github.com/users/sublimator/repos","events_url":"https://api.github.com/users/sublimator/events{/privacy}","received_events_url":"https://api.github.com/users/sublimator/received_events","type":"User","site_admin":false},"repo":{"id":81719504,"name":"MQTT.js","full_name":"sublimator/MQTT.js","owner":{"login":"sublimator","id":525211,"avatar_url":"https://avatars.githubusercontent.com/u/525211?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimator","html_url":"https://github.com/sublimator","followers_url":"https://api.github.com/users/sublimator/followers","following_url":"https://api.github.com/users/sublimator/following{/other_user}","gists_url":"https://api.github.com/users/sublimator/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimator/subscriptions","organizations_url":"https://api.github.com/users/sublimator/orgs","repos_url":"https://api.github.com/users/sublimator/repos","events_url":"https://api.github.com/users/sublimator/events{/privacy}","received_events_url":"https://api.github.com/users/sublimator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sublimator/MQTT.js","description":"The MQTT client for Node.js and the browser","fork":true,"url":"https://api.github.com/repos/sublimator/MQTT.js","forks_url":"https://api.github.com/repos/sublimator/MQTT.js/forks","keys_url":"https://api.github.com/repos/sublimator/MQTT.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sublimator/MQTT.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sublimator/MQTT.js/teams","hooks_url":"https://api.github.com/repos/sublimator/MQTT.js/hooks","issue_events_url":"https://api.github.com/repos/sublimator/MQTT.js/issues/events{/number}","events_url":"https://api.github.com/repos/sublimator/MQTT.js/events","assignees_url":"https://api.github.com/repos/sublimator/MQTT.js/assignees{/user}","branches_url":"https://api.github.com/repos/sublimator/MQTT.js/branches{/branch}","tags_url":"https://api.github.com/repos/sublimator/MQTT.js/tags","blobs_url":"https://api.github.com/repos/sublimator/MQTT.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sublimator/MQTT.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sublimator/MQTT.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/sublimator/MQTT.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sublimator/MQTT.js/statuses/{sha}","languages_url":"https://api.github.com/repos/sublimator/MQTT.js/languages","stargazers_url":"https://api.github.com/repos/sublimator/MQTT.js/stargazers","contributors_url":"https://api.github.com/repos/sublimator/MQTT.js/contributors","subscribers_url":"https://api.github.com/repos/sublimator/MQTT.js/subscribers","subscription_url":"https://api.github.com/repos/sublimator/MQTT.js/subscription","commits_url":"https://api.github.com/repos/sublimator/MQTT.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/sublimator/MQTT.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/sublimator/MQTT.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/sublimator/MQTT.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/sublimator/MQTT.js/contents/{+path}","compare_url":"https://api.github.com/repos/sublimator/MQTT.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sublimator/MQTT.js/merges","archive_url":"https://api.github.com/repos/sublimator/MQTT.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sublimator/MQTT.js/downloads","issues_url":"https://api.github.com/repos/sublimator/MQTT.js/issues{/number}","pulls_url":"https://api.github.com/repos/sublimator/MQTT.js/pulls{/number}","milestones_url":"https://api.github.com/repos/sublimator/MQTT.js/milestones{/number}","notifications_url":"https://api.github.com/repos/sublimator/MQTT.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sublimator/MQTT.js/labels{/name}","releases_url":"https://api.github.com/repos/sublimator/MQTT.js/releases{/id}","deployments_url":"https://api.github.com/repos/sublimator/MQTT.js/deployments","created_at":"2017-02-12T10:53:38Z","updated_at":"2017-02-12T10:53:40Z","pushed_at":"2017-02-13T16:34:49Z","git_url":"git://github.com/sublimator/MQTT.js.git","ssh_url":"git@github.com:sublimator/MQTT.js.git","clone_url":"https://github.com/sublimator/MQTT.js.git","svn_url":"https://github.com/sublimator/MQTT.js","homepage":"","size":1149,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mqttjs:master","ref":"master","sha":"dda7d8b926b60a95c54c4607d90d46d404caf904","user":{"login":"mqttjs","id":10424911,"avatar_url":"https://avatars.githubusercontent.com/u/10424911?v=3","gravatar_id":"","url":"https://api.github.com/users/mqttjs","html_url":"https://github.com/mqttjs","followers_url":"https://api.github.com/users/mqttjs/followers","following_url":"https://api.github.com/users/mqttjs/following{/other_user}","gists_url":"https://api.github.com/users/mqttjs/gists{/gist_id}","starred_url":"https://api.github.com/users/mqttjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqttjs/subscriptions","organizations_url":"https://api.github.com/users/mqttjs/orgs","repos_url":"https://api.github.com/users/mqttjs/repos","events_url":"https://api.github.com/users/mqttjs/events{/privacy}","received_events_url":"https://api.github.com/users/mqttjs/received_events","type":"Organization","site_admin":false},"repo":{"id":1569980,"name":"MQTT.js","full_name":"mqttjs/MQTT.js","owner":{"login":"mqttjs","id":10424911,"avatar_url":"https://avatars.githubusercontent.com/u/10424911?v=3","gravatar_id":"","url":"https://api.github.com/users/mqttjs","html_url":"https://github.com/mqttjs","followers_url":"https://api.github.com/users/mqttjs/followers","following_url":"https://api.github.com/users/mqttjs/following{/other_user}","gists_url":"https://api.github.com/users/mqttjs/gists{/gist_id}","starred_url":"https://api.github.com/users/mqttjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqttjs/subscriptions","organizations_url":"https://api.github.com/users/mqttjs/orgs","repos_url":"https://api.github.com/users/mqttjs/repos","events_url":"https://api.github.com/users/mqttjs/events{/privacy}","received_events_url":"https://api.github.com/users/mqttjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mqttjs/MQTT.js","description":"The MQTT client for Node.js and the browser","fork":false,"url":"https://api.github.com/repos/mqttjs/MQTT.js","forks_url":"https://api.github.com/repos/mqttjs/MQTT.js/forks","keys_url":"https://api.github.com/repos/mqttjs/MQTT.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mqttjs/MQTT.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mqttjs/MQTT.js/teams","hooks_url":"https://api.github.com/repos/mqttjs/MQTT.js/hooks","issue_events_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/events{/number}","events_url":"https://api.github.com/repos/mqttjs/MQTT.js/events","assignees_url":"https://api.github.com/repos/mqttjs/MQTT.js/assignees{/user}","branches_url":"https://api.github.com/repos/mqttjs/MQTT.js/branches{/branch}","tags_url":"https://api.github.com/repos/mqttjs/MQTT.js/tags","blobs_url":"https://api.github.com/repos/mqttjs/MQTT.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mqttjs/MQTT.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mqttjs/MQTT.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mqttjs/MQTT.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mqttjs/MQTT.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mqttjs/MQTT.js/languages","stargazers_url":"https://api.github.com/repos/mqttjs/MQTT.js/stargazers","contributors_url":"https://api.github.com/repos/mqttjs/MQTT.js/contributors","subscribers_url":"https://api.github.com/repos/mqttjs/MQTT.js/subscribers","subscription_url":"https://api.github.com/repos/mqttjs/MQTT.js/subscription","commits_url":"https://api.github.com/repos/mqttjs/MQTT.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mqttjs/MQTT.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mqttjs/MQTT.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mqttjs/MQTT.js/contents/{+path}","compare_url":"https://api.github.com/repos/mqttjs/MQTT.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mqttjs/MQTT.js/merges","archive_url":"https://api.github.com/repos/mqttjs/MQTT.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mqttjs/MQTT.js/downloads","issues_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues{/number}","pulls_url":"https://api.github.com/repos/mqttjs/MQTT.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mqttjs/MQTT.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mqttjs/MQTT.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mqttjs/MQTT.js/labels{/name}","releases_url":"https://api.github.com/repos/mqttjs/MQTT.js/releases{/id}","deployments_url":"https://api.github.com/repos/mqttjs/MQTT.js/deployments","created_at":"2011-04-05T00:33:23Z","updated_at":"2017-02-13T12:26:00Z","pushed_at":"2017-02-13T16:34:51Z","git_url":"git://github.com/mqttjs/MQTT.js.git","ssh_url":"git@github.com:mqttjs/MQTT.js.git","clone_url":"https://github.com/mqttjs/MQTT.js.git","svn_url":"https://github.com/mqttjs/MQTT.js","homepage":"","size":1147,"stargazers_count":1957,"watchers_count":1957,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":395,"mirror_url":null,"open_issues_count":26,"forks":395,"open_issues":26,"watchers":1957,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/539"},"html":{"href":"https://github.com/mqttjs/MQTT.js/pull/539"},"issue":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/issues/539"},"comments":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/issues/539/comments"},"review_comments":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/539/comments"},"review_comment":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/pulls/539/commits"},"statuses":{"href":"https://api.github.com/repos/mqttjs/MQTT.js/statuses/b0cc1801f672367c6d3233a3ce31f8c4caada511"}}}}
{"actor":{"display_login":"mcollina"}}