AbstractWebSocketHandler

Constructors

this
this()
Undocumented in source.

Members

Functions

acceptUpgrade
bool acceptUpgrade(HttpRequest request, HttpResponse response, HttpOutputStream output, HttpConnection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
getWebSocketPolicy
WebSocketPolicy getWebSocketPolicy()
Undocumented in source. Be warned that the author may not have intended to support it.
onAcceptUpgrade
AbstractWebSocketHandler onAcceptUpgrade(HttpEventHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
onClosed
void onClosed(WebSocketConnection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
onClosed
AbstractWebSocketHandler onClosed(Action1!(WebSocketConnection) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
onError
void onError(Exception ex, WebSocketConnection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
onError
AbstractWebSocketHandler onError(Action2!(Exception, WebSocketConnection) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
onFrame
void onFrame(WebSocketFrame frame, WebSocketConnection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
onFrame
AbstractWebSocketHandler onFrame(Action2!(WebSocketFrame, WebSocketConnection) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
onOpen
void onOpen(WebSocketConnection connection)
Undocumented in source. Be warned that the author may not have intended to support it.
onOpen
AbstractWebSocketHandler onOpen(Action1!(WebSocketConnection) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
setWebSocketPolicy
void setWebSocketPolicy(WebSocketPolicy w)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_webSocketPolicy
WebSocketPolicy _webSocketPolicy;
Undocumented in source.
defaultWebSocketPolicy
WebSocketPolicy defaultWebSocketPolicy;
Undocumented in source.

Inherited Members

From WebSocketHandler

acceptUpgrade
bool acceptUpgrade(HttpRequest request, HttpResponse response, HttpOutputStream output, HttpConnection connection)
Undocumented in source.
onOpen
void onOpen(WebSocketConnection connection)
Undocumented in source.
onClosed
void onClosed(WebSocketConnection connection)
Undocumented in source.
getWebSocketPolicy
WebSocketPolicy getWebSocketPolicy()
Undocumented in source.
setWebSocketPolicy
void setWebSocketPolicy(WebSocketPolicy w)
Undocumented in source.
onFrame
void onFrame(WebSocketFrame frame, WebSocketConnection connection)
Undocumented in source.
onError
void onError(Exception t, WebSocketConnection connection)
Undocumented in source.

Meta