{"action":"created","issue":{"url":"https://api.github.com/repos/tornadoweb/tornado/issues/1243","repository_url":"https://api.github.com/repos/tornadoweb/tornado","labels_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1243/labels{/name}","comments_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1243/comments","events_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1243/events","html_url":"https://github.com/tornadoweb/tornado/issues/1243","id":48012660,"node_id":"MDU6SXNzdWU0ODAxMjY2MA==","number":1243,"title":"Anyway to modify sec_websocket_protocol using websocket_connect()?","user":{"login":"xihan88","id":1118912,"node_id":"MDQ6VXNlcjExMTg5MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1118912?v=4","gravatar_id":"","url":"https://api.github.com/users/xihan88","html_url":"https://github.com/xihan88","followers_url":"https://api.github.com/users/xihan88/followers","following_url":"https://api.github.com/users/xihan88/following{/other_user}","gists_url":"https://api.github.com/users/xihan88/gists{/gist_id}","starred_url":"https://api.github.com/users/xihan88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xihan88/subscriptions","organizations_url":"https://api.github.com/users/xihan88/orgs","repos_url":"https://api.github.com/users/xihan88/repos","events_url":"https://api.github.com/users/xihan88/events{/privacy}","received_events_url":"https://api.github.com/users/xihan88/received_events","type":"User","site_admin":false},"labels":[{"id":114338219,"node_id":"MDU6TGFiZWwxMTQzMzgyMTk=","url":"https://api.github.com/repos/tornadoweb/tornado/labels/websocket","name":"websocket","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2014-11-06T20:48:37Z","updated_at":"2018-06-10T22:48:04Z","closed_at":"2018-06-10T22:48:04Z","author_association":"NONE","body":"I use original websocket in javascript, which is OK to add a subprotocol; And I use tornado httpserver to handle websocket subprotocols, which is also perfect; Now I'm trying to crate a python websocket client, but I figure out that it seems impossible to change the subprotocol using websocket_connect(). So do you plan to add sudprotocol as an argument in the future? Or I should use another way to create a websocket client which supports subprotocol in python?\n"},"comment":{"url":"https://api.github.com/repos/tornadoweb/tornado/issues/comments/396088042","html_url":"https://github.com/tornadoweb/tornado/issues/1243#issuecomment-396088042","issue_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1243","id":396088042,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjA4ODA0Mg==","user":{"login":"bdarnell","id":160562,"node_id":"MDQ6VXNlcjE2MDU2Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/160562?v=4","gravatar_id":"","url":"https://api.github.com/users/bdarnell","html_url":"https://github.com/bdarnell","followers_url":"https://api.github.com/users/bdarnell/followers","following_url":"https://api.github.com/users/bdarnell/following{/other_user}","gists_url":"https://api.github.com/users/bdarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/bdarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdarnell/subscriptions","organizations_url":"https://api.github.com/users/bdarnell/orgs","repos_url":"https://api.github.com/users/bdarnell/repos","events_url":"https://api.github.com/users/bdarnell/events{/privacy}","received_events_url":"https://api.github.com/users/bdarnell/received_events","type":"User","site_admin":false},"created_at":"2018-06-10T22:48:04Z","updated_at":"2018-06-10T22:48:04Z","author_association":"MEMBER","body":"Client-side subprotocol support is coming in Tornado 5.1"}}
{"actor":{"display_login":"bdarnell"}}