webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
interface | WebSocketChannelEvents |
enum | WebSocketConnectionState |
Public Member Functions | |
WebSocketChannelClient (Handler handler, WebSocketChannelEvents events) | |
WebSocketConnectionState | getState () |
void | connect (final String wsUrl, final String postUrl) |
void | register (final String roomID, final String clientID) |
void | send (String message) |
void | post (String message) |
void | disconnect (boolean waitForComplete) |
WebSocket client implementation.
All public methods should be called from a looper executor thread passed in a constructor, otherwise exception will be thrown. All events are dispatched on the same thread.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |