com.ning.http.client.websocket
Interface WebSocketCloseCodeReasonListener


public interface WebSocketCloseCodeReasonListener

Extend the normal close listener with one that support the WebSocket's code and reason.

See Also:
"http://tools.ietf.org/html/rfc6455#section-5.5.1"

Method Summary
 void onClose(WebSocket websocket, int code, String reason)
          Invoked when the WebSocket is close.
 

Method Detail

onClose

void onClose(WebSocket websocket,
             int code,
             String reason)
Invoked when the WebSocket is close.

Parameters:
websocket -


Copyright © 2014. All Rights Reserved.