yrift / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
0 stars 0 forks source link

Provide method to obtain next unique token id. #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Up to v0.9.0.0618 the unique token id is increment in the createDefaultResult 
method - which is not necessarily called for individual clients. This should be 
done in the sendToken method but needs to be carefully tested for upward 
compatibility.

Original issue reported on code.google.com by fivefeetfurther@gmail.com on 20 Jun 2010 at 2:03

GoogleCodeExporter commented 8 years ago
The jWebSocket.js JavaScript Client now provides the two methods getLastTokenId 
and getNextTokenId for this purpose.

Original comment by fivefeetfurther@gmail.com on 5 Aug 2010 at 10:23