artsrun-gasparyan / jwebsocket

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

extend CloseReason #191

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
websocket protocol allows custom close codes 
(http://tools.ietf.org/html/rfc6455#section-7.4)

I need to pass custom close reason to my client. 

WebSocketConnector.stopConnector() function accepts CloseReason which is an 
enum and therefore cannot be extended.

Could you enable sending custom codes?

Thanks in advance.

Original issue reported on code.google.com by omerfaru...@gmail.com on 9 Oct 2012 at 1:42