kennethreitz/flask-sockets — pull request #14 by clarkduvall (2014-02-28 01:32:14+00:00)
Title: Use Flask routing to allow for variables in URL

This allows for variable URLs with no change to the current API.

```
@sockets.route('/receive'):
def receive(ws, name):
...
```

I saw that there was already a pull request for this here: https://github.com/kennethreitz/flask-sockets/pull/7, but I think the solution proposed in this PR is cleaner, with no breaking changes. Based on the other pull request, it looks like a lot of people want this feature.

@kennethreitz what do you think?