{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/engine.io-client/issues/379","repository_url":"https://api.github.com/repos/socketio/engine.io-client","labels_url":"https://api.github.com/repos/socketio/engine.io-client/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/socketio/engine.io-client/issues/379/comments","events_url":"https://api.github.com/repos/socketio/engine.io-client/issues/379/events","html_url":"https://github.com/socketio/engine.io-client/pull/379","id":61094363,"number":379,"title":"introduce extraHeaders (cookies)","user":{"login":"adrai","id":1086194,"avatar_url":"https://avatars.githubusercontent.com/u/1086194?v=3","gravatar_id":"","url":"https://api.github.com/users/adrai","html_url":"https://github.com/adrai","followers_url":"https://api.github.com/users/adrai/followers","following_url":"https://api.github.com/users/adrai/following{/other_user}","gists_url":"https://api.github.com/users/adrai/gists{/gist_id}","starred_url":"https://api.github.com/users/adrai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrai/subscriptions","organizations_url":"https://api.github.com/users/adrai/orgs","repos_url":"https://api.github.com/users/adrai/repos","events_url":"https://api.github.com/users/adrai/events{/privacy}","received_events_url":"https://api.github.com/users/adrai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2015-03-13T15:18:23Z","updated_at":"2016-11-11T04:59:23Z","closed_at":"2015-04-06T21:17:57Z","pull_request":{"url":"https://api.github.com/repos/socketio/engine.io-client/pulls/379","html_url":"https://github.com/socketio/engine.io-client/pull/379","diff_url":"https://github.com/socketio/engine.io-client/pull/379.diff","patch_url":"https://github.com/socketio/engine.io-client/pull/379.patch"},"body":"The reason for this is: https://github.com/Automattic/socket.io/issues/2036\n"},"comment":{"url":"https://api.github.com/repos/socketio/engine.io-client/issues/comments/259881571","html_url":"https://github.com/socketio/engine.io-client/pull/379#issuecomment-259881571","issue_url":"https://api.github.com/repos/socketio/engine.io-client/issues/379","id":259881571,"user":{"login":"nathansherburn","id":3915868,"avatar_url":"https://avatars.githubusercontent.com/u/3915868?v=3","gravatar_id":"","url":"https://api.github.com/users/nathansherburn","html_url":"https://github.com/nathansherburn","followers_url":"https://api.github.com/users/nathansherburn/followers","following_url":"https://api.github.com/users/nathansherburn/following{/other_user}","gists_url":"https://api.github.com/users/nathansherburn/gists{/gist_id}","starred_url":"https://api.github.com/users/nathansherburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathansherburn/subscriptions","organizations_url":"https://api.github.com/users/nathansherburn/orgs","repos_url":"https://api.github.com/users/nathansherburn/repos","events_url":"https://api.github.com/users/nathansherburn/events{/privacy}","received_events_url":"https://api.github.com/users/nathansherburn/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T04:59:23Z","updated_at":"2016-11-11T04:59:23Z","body":"For others finding this thread - this has been released now :)\r\n\r\nYou can use it in engine.io/socket.io like so,\r\n\r\n`\r\nvar io = require('socket.io-client')\r\n  var socket = io('http://yourwebsite.com', {\r\n    extraHeaders: {\r\n      'Cookie': 'your-cookie_info_here'\r\n    }\r\n  });\r\n`\r\n\r\nNote: in engine.io you'll need to change `https` to `ws` and the require to `engine.io-client`"}}
{"actor":{"display_login":"nathansherburn"}}