{"head":"852de017686dd930399252ac8f1cda00a15a7a4e","size":1,"push_id":46488680,"commits":[{"sha":"852de017686dd930399252ac8f1cda00a15a7a4e","author":{"name":"Cliff Cyphers","email":"5eaece5f08370e3fed539bf7c0bff5d813a27ed3@labby.(none)"},"url":"https://api.github.com/repos/ccyphers/websockify/commits/852de017686dd930399252ac8f1cda00a15a7a4e","message":"Adding --auth_hook option.  This allows\none to filter request on the initial handshake\nbased on the JS sending an additional string in in the\nprotocol list:\n\nwebsocket = new WebSocket(uri, ['base64', user + '-----' + auth])\n\nwhere two vars are sent separated by '-----'.  This allows one to have\nthe web server set cookies which in turn can be then sent with the initial\nWebSocket connect request and dropped if the user is not authorized."}],"ref":"refs/heads/master","legacy":{"head":"852de017686dd930399252ac8f1cda00a15a7a4e","size":1,"push_id":46488680,"shas":[["852de017686dd930399252ac8f1cda00a15a7a4e","cliff@labby.(none)","Adding --auth_hook option.  This allows\none to filter request on the initial handshake\nbased on the JS sending an additional string in in the\nprotocol list:\n\nwebsocket = new WebSocket(uri, ['base64', user + '-----' + auth])\n\nwhere two vars are sent separated by '-----'.  This allows one to have\nthe web server set cookies which in turn can be then sent with the initial\nWebSocket connect request and dropped if the user is not authorized.","Cliff Cyphers"]],"ref":"refs/heads/master"}}