(url)
Create a new websocket client at the given `url` using the thread current
    tornado loop.
Create a new websocket client at the given `url` using the thread current
    tornado loop.
Create a new websocket client at the given url using the thread current tornado loop .
def websocket(url):
    """Create a new websocket client at the given `url` using the thread current
    tornado loop."""
    client = PerspectiveTornadoClient()
    yield client.connect(url)
    raise gen.Return(client)
def websocket ( url ) : client = PerspectiveTornadoClient ( ) yield client . connect ( url ) raise gen . Return ( client )