On Fri, Aug 4, 2017 at 11:29 AM, Mike Mestnik <cheako+twistedmatrix@mikemestnik.net> wrote:
On Fri, Aug 4, 2017 at 9:11 AM, Jean-Paul Calderone
<exarkun@twistedmatrix.com> wrote:
> On Fri, Aug 4, 2017 at 10:01 AM, Mike Mestnik
> <cheako+twistedmatrix@mikemestnik.net> wrote:
>>
>> I was working on Tor2web, a client of twisted web.  I discover that to
>
>
> What are you trying to do?  The subject of your message suggests you're
> interested in some kind of WebSocket support but I have trouble following
> the rest.
>
> If you want Twisted and WebSockets, take a look at this:
> https://github.com/crossbario/autobahn-python
>
I want twisted.web.client.Agent that will see the connection being
upgraded and release the socket FOR websocket.  Currently if you tried
to use  twisted.web.client.Agent with autobahn-python bad things would
happen.


Autobahn also has support for building WebSocket clients:

http://autobahn.readthedocs.io/en/stable/websocket/programming.html#creating-clients

Jean-Paul