Re: [Twisted-Python] Protocol for socket.io

2014-01-26 Thread Tobias Oberstein
Hi Laurens, >Hm. I can't find it in the current version. Either I am misremembering, or >they expect you to use the pubsub thing as an RPC mechanism somehow (i.e. the >room name is the procedure name). I see. Using PubSub to implement RPC seems hackish at best, if it works at all. E.g. how to

Re: [Twisted-Python] Protocol for socket.io

2014-01-26 Thread Laurens Van Houtven
Hi Tobias, Hm. I can't find it in the current version. Either I am misremembering, or they expect you to use the pubsub thing as an RPC mechanism somehow (i.e. the room name is the procedure name). hth lvh ___ Twisted-Python mailing list Twisted-Python

Re: [Twisted-Python] Protocol for socket.io

2014-01-26 Thread Tobias Oberstein
>socket.io adds a few things like "RPC support" and "pubsub", ... Do you have pointers for that? I can see socket.io supports "topic based pubsub" like functionality via "rooms" : https://github.com/LearnBoost/socket.io/wiki/Rooms What about RPC? /Tobias _

[Twisted-Python] twisted.web secured session cookies and multiple sites on same host

2014-01-26 Thread Adi Roiban
Hi, I am looking for the followings: * Force twisted.web to set session cookie as secured when HTTPS is used. * Allow 2 separate twisted.web Sites to run on same host/IP but with different sessions. I have checked the current code for getSession() [1] but i can see that session cookie is harcoded

Re: [Twisted-Python] Protocol for socket.io

2014-01-26 Thread Laurens Van Houtven
On Sun, Jan 26, 2014 at 10:57 AM, Glyph wrote: > > Having had the life-transforming experience of supporting customers using > *Government-*Quality Web Middleware Server Hardware Firewallâ„¢, in a > pre-websockets world, with a two-way web application... > > No, no I probably wouldn't. > Hah; okay

Re: [Twisted-Python] Protocol for socket.io

2014-01-26 Thread Glyph
On Jan 26, 2014, at 1:53 AM, Laurens Van Houtven <_...@lvh.io> wrote: > you'd be amazed how much Enterprise Quality Web Middleware Server Hardware > Firewall(TM) screws up websocket connections Having had the life-transforming experience of supporting customers using Government-Quality Web Mid

Re: [Twisted-Python] Protocol for socket.io

2014-01-26 Thread Laurens Van Houtven
On Sun, Jan 26, 2014 at 10:46 AM, Glyph wrote: > It would be great if someone built a package to do this (more interop is > always better), but I think interest has generally fizzled on Socket.IO > implementations in the past because SockJS does pretty much exactly the > same thing, and as Lauren

Re: [Twisted-Python] Protocol for socket.io

2014-01-26 Thread Glyph
On Jan 25, 2014, at 12:21 PM, Dustin J. Mitchell wrote: > As I understand it, socket.io is a browser-side library that uses any > of a number of technologies, depending on its environment, to > communicate with the server. SSE, Websockets, and long polling are > all on the list. Last I looked,