[Twisted-Python] Twisted Endpoints and WebSocket / Autobahn

Hynek Schlawack hs at ox.cx
Mon Dec 30 16:56:47 MST 2013


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" 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.

FWIW, the argument you’re looking for is usually called “--port”.  
The most obvious example is the web plugin.



More information about the Twisted-Python mailing list