This is better described as a 'publish-subscribe pattern using web sockets'. To be brutally honest (take this as constructive criticism), the addition of the HTTP endpoint isn't very interesting either. Implementing all this takes perhaps less than 100 lines of code.<p>Furthermore, your site is susceptible to XSS<p>curl <a href="http://web.sockethook.io/hook/foo" rel="nofollow">http://web.sockethook.io/hook/foo</a> --data "foo=<script>alert('hello')</script>"