Searched defs:WebSocket (Results 1 - 4 of 4) sorted by relevance

/external/libvncserver/webclients/novnc/include/web-socket-js/
H A Dweb_socket.js8 if (window.WebSocket) return;
34 WebSocket = function(url, protocol, proxyHost, proxyPort, headers) {
36 self.__id = WebSocket.__nextId++;
37 WebSocket.__instances[self.__id] = self;
38 self.readyState = WebSocket.CONNECTING;
44 WebSocket.__addTask(function() {
45 WebSocket.__flash.create(
56 WebSocket.prototype.send = function(data) {
57 if (this.readyState == WebSocket.CONNECTING) {
68 var result = WebSocket
24 WebSocket = function(url, protocol, proxyHost, proxyPort, headers) { function
49 WebSocket.prototype.send = function(data) { class
[all...]
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
H A DWebSocket.java23 public interface WebSocket { interface
40 BufferedSink newMessageSink(WebSocket.PayloadType type);
47 void sendMessage(WebSocket.PayloadType type, Buffer payload) throws IOException;
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
H A DWebSocket.java14 public abstract class WebSocket { class
35 WebSocket.this.out = out;
43 public WebSocket(NanoHTTPD.IHTTPSession handshakeRequest) { method in class:WebSocket
/external/jetty/src/java/org/eclipse/jetty/websocket/
H A DWebSocket.java24 * WebSocket Interface.
29 public interface WebSocket interface
45 * A nested WebSocket interface for receiving text messages
47 interface OnTextMessage extends WebSocket
58 * A nested WebSocket interface for receiving binary messages
60 interface OnBinaryMessage extends WebSocket
73 * A nested WebSocket interface for receiving control messages
75 interface OnControl extends WebSocket
89 * A nested WebSocket interface for receiving any websocket frame
91 interface OnFrame extends WebSocket
[all...]

Completed in 159 milliseconds