Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-31 Thread Tobias Oberstein
Matt, > That's neat! Endpoints rock. I'd like to put this up on twistedftw.org -- I > look > forward to your complete example. Great! All examples and all code is here https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/websocket/wrapping and here https://github.com/taven

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-31 Thread Matt Haggard
Tobias, That's neat! Endpoints rock. I'd like to put this up on twistedftw.org -- I look forward to your complete example. Matt On Tue, Dec 31, 2013 at 3:41 AM, Tobias Oberstein wrote: >> > Thing is: I was looking for --endpoint "..." argument with twistd, but >> > there isn't. >> > >> > How

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-31 Thread Tobias Oberstein
> > Thing is: I was looking for --endpoint "..." argument with twistd, but > > there isn't. > > > > How is the full endpoint "vision" supposed to work out? I mean, being > > able to: > > > > twistd conch --endpoint "autobahn:tcp\:80:url=ws\://myhost.com" > > > > to run a conch server that can be ac

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-30 Thread Hynek Schlawack
On 31 Dec 2013, at 0:22, Tobias Oberstein wrote: Is there an example of doing this with 'twistd' anywhere? I was hoping you or someone could tell me how to do one;) Thing is: I was looking for --endpoint "..." argument with twistd, but there isn't. How is the full endpoint "vision" suppose

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-30 Thread Tobias Oberstein
> > Endpoints are cool! > > AWESOME > > I'm just thrilled at more third-party plugins starting to take advantage of > this > powerful extensibility API. This looks great. Thanks for endpoints! I think it's a concept in very good Unix tradition: make everything look the same (stream/endpoi

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-30 Thread Glyph
On Dec 30, 2013, at 3:34 PM, Tobias Oberstein wrote: > Hi, > > I've made Autobahn fully Endpoint aware. > > You can run WebSocket over any stream-based endpoint > > https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/websocket/echo_endpoints > > and you can run any stream

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-30 Thread Tobias Oberstein
Hi, I've made Autobahn fully Endpoint aware. You can run WebSocket over any stream-based endpoint https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/websocket/echo_endpoints and you can run any stream-based endpoint over WebSocket (which in turn runs over any stream-based u

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-13 Thread Glyph
On Dec 13, 2013, at 7:09 AM, Tobias Oberstein wrote: >>> I am working on Twisted Endpoint support in Autobahn >> https://github.com/tavendo/AutobahnPython. >> >> Yay! > > Endpoints are cool. > > FWIW, here is a working example of WebSocket I tested over both Unix domain > sockets and the us

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-13 Thread Tobias Oberstein
> > I am working on Twisted Endpoint support in Autobahn > https://github.com/tavendo/AutobahnPython. > > Yay! Endpoints are cool. FWIW, here is a working example of WebSocket I tested over both Unix domain sockets and the usual TCP/TLS endpoints: https://github.com/tavendo/AutobahnPython/tree

Re: [Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-13 Thread Glyph
On Dec 12, 2013, at 12:29 AM, Tobias Oberstein wrote: > Hi, > > I am working on Twisted Endpoint support in Autobahn > https://github.com/tavendo/AutobahnPython. Yay! > So far, I made Autobahn able to talk WebSocket _over_ arbitrary Twisted > Endpoints, e.g. WebSocket over Unix domain socke

[Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

2013-12-12 Thread Tobias Oberstein
Hi, I am working on Twisted Endpoint support in Autobahn https://github.com/tavendo/AutobahnPython. So far, I made Autobahn able to talk WebSocket _over_ arbitrary Twisted Endpoints, e.g. WebSocket over Unix domain sockets works. This is already quite nifty. Is there anything like Twisted End