{"action":"opened","issue":{"url":"https://api.github.com/repos/warner/magic-wormhole/issues/261","repository_url":"https://api.github.com/repos/warner/magic-wormhole","labels_url":"https://api.github.com/repos/warner/magic-wormhole/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/warner/magic-wormhole/issues/261/comments","events_url":"https://api.github.com/repos/warner/magic-wormhole/issues/261/events","html_url":"https://github.com/warner/magic-wormhole/issues/261","id":268738645,"number":261,"title":"How can client tell when `bind` is done?","user":{"login":"jml","id":125674,"avatar_url":"https://avatars1.githubusercontent.com/u/125674?v=4","gravatar_id":"","url":"https://api.github.com/users/jml","html_url":"https://github.com/jml","followers_url":"https://api.github.com/users/jml/followers","following_url":"https://api.github.com/users/jml/following{/other_user}","gists_url":"https://api.github.com/users/jml/gists{/gist_id}","starred_url":"https://api.github.com/users/jml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jml/subscriptions","organizations_url":"https://api.github.com/users/jml/orgs","repos_url":"https://api.github.com/users/jml/repos","events_url":"https://api.github.com/users/jml/events{/privacy}","received_events_url":"https://api.github.com/users/jml/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-26T12:21:51Z","updated_at":"2017-10-26T12:21:51Z","closed_at":null,"author_association":"NONE","body":"server-protocol.md says:\r\n\r\n> The first thing each client sends to the server, immediately after the WebSocket connection is established, is a `bind` message.\r\n\r\nThis message is intended to set state for the rest of the commands.\r\n\r\nHowever, there's no response to the `bind` command, apart from `ack`, but…\r\n\r\n> `ack` … is immediately sent back to the client for all commands\r\n\r\nWhich I take to mean that it's sent *before* the server handles the request.\r\n\r\nHow does the client know that it's safe to proceed with scoped commands?"}}
{"actor":{"display_login":"jml"}}