{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/subscriptions-transport-ws/issues/49","repository_url":"https://api.github.com/repos/apollostack/subscriptions-transport-ws","labels_url":"https://api.github.com/repos/apollostack/subscriptions-transport-ws/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/subscriptions-transport-ws/issues/49/comments","events_url":"https://api.github.com/repos/apollostack/subscriptions-transport-ws/issues/49/events","html_url":"https://github.com/apollostack/subscriptions-transport-ws/issues/49","id":190537020,"number":49,"title":"Why client connect states `graphql-subscriptions` as protocol","user":{"login":"schrepfler","id":3553,"avatar_url":"https://avatars.githubusercontent.com/u/3553?v=3","gravatar_id":"","url":"https://api.github.com/users/schrepfler","html_url":"https://github.com/schrepfler","followers_url":"https://api.github.com/users/schrepfler/followers","following_url":"https://api.github.com/users/schrepfler/following{/other_user}","gists_url":"https://api.github.com/users/schrepfler/gists{/gist_id}","starred_url":"https://api.github.com/users/schrepfler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schrepfler/subscriptions","organizations_url":"https://api.github.com/users/schrepfler/orgs","repos_url":"https://api.github.com/users/schrepfler/repos","events_url":"https://api.github.com/users/schrepfler/events{/privacy}","received_events_url":"https://api.github.com/users/schrepfler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-20T03:30:51Z","updated_at":"2016-12-13T10:27:13Z","closed_at":"2016-12-13T10:27:13Z","body":"Looking at https://github.com/apollostack/subscriptions-transport-ws/blob/master/src/client.ts#L184\r\nonce the connection is opened it immediately set this header `Sec-WebSocket-Protocol:graphql-subscriptions`. Is this strictly needed? I'd imagine there could be different protocols/commands running over a single websocket transport (queries, mutations.. other.)"},"comment":{"url":"https://api.github.com/repos/apollostack/subscriptions-transport-ws/issues/comments/266702335","html_url":"https://github.com/apollostack/subscriptions-transport-ws/issues/49#issuecomment-266702335","issue_url":"https://api.github.com/repos/apollostack/subscriptions-transport-ws/issues/49","id":266702335,"user":{"login":"helfer","id":6569980,"avatar_url":"https://avatars.githubusercontent.com/u/6569980?v=3","gravatar_id":"","url":"https://api.github.com/users/helfer","html_url":"https://github.com/helfer","followers_url":"https://api.github.com/users/helfer/followers","following_url":"https://api.github.com/users/helfer/following{/other_user}","gists_url":"https://api.github.com/users/helfer/gists{/gist_id}","starred_url":"https://api.github.com/users/helfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helfer/subscriptions","organizations_url":"https://api.github.com/users/helfer/orgs","repos_url":"https://api.github.com/users/helfer/repos","events_url":"https://api.github.com/users/helfer/events{/privacy}","received_events_url":"https://api.github.com/users/helfer/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T10:27:13Z","updated_at":"2016-12-13T10:27:13Z","body":"@schrepfler This isn't sent manually, it's part of the websocket implementation that we used and it indicates the subprotocol to the server: https://tools.ietf.org/html/rfc6455#section-1.9"}}
{"actor":{"display_login":"helfer"}}