Re: [websockets] Constructor vs. open()

2011-05-30 Thread Simon Pieters
On Sat, 28 May 2011 07:54:56 +0200, Jonas Sicking jo...@sicking.cc wrote: On Fri, May 27, 2011 at 5:47 PM, Adrian Bateman adria...@microsoft.com wrote: As I proposed in March [1], we think it makes sense to separate the WebSocket constructor from the operation to initiate the network

[websockets] Constructor vs. open()

2011-05-27 Thread Adrian Bateman
As I proposed in March [1], we think it makes sense to separate the WebSocket constructor from the operation to initiate the network operation. We proposed a separate open() method similar to XHR. This allows a WebSocket object to be constructed and initialised prior to communication. We think

Re: [websockets] Constructor vs. open()

2011-05-27 Thread Jonas Sicking
On Fri, May 27, 2011 at 5:47 PM, Adrian Bateman adria...@microsoft.com wrote: As I proposed in March [1], we think it makes sense to separate the WebSocket constructor from the operation to initiate the network operation. We proposed a separate open() method similar to XHR. This allows a