[Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

Tobias Oberstein tobias.oberstein at tavendo.de
Mon Dec 30 16:22:10 MST 2013


> > 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/endpoint). Make it transparent for users.

> (Sorry about the somewhat poorly-thought-out syntax there, with the colons
> that need to be escaped all over the place; hopefully we can fix that one day
> somehow.)

Yes;) The syntax works, but it could be nicer. Well, nothing is perfect ..

> 
> 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" 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 accessed running SSH over WebSocket over TCP.

/Tobias

> 
> -glyph
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python




More information about the Twisted-Python mailing list