Home
last modified time | relevance | path

Searched refs:websocket (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium-trace/catapult/telemetry/third_party/websocket-client/
DREADME.rst2 websocket-client
5 websocket-client module is WebSocket client for python. This provide the low level APIs for WebSoc…
7 websocket-client supports only hybi-13.
19 Type "python setup.py install" or "pip install websocket-client" to install.
26 py3( https://github.com/liris/websocket-client/tree/py3 ) branch is for python 3.3. Every test case…
34 from websocket import create_connection
35 ws = create_connection("ws://echo.websocket.org/")
48 from websocket import create_connection
49 ws = create_connection("ws://echo.websocket.org/".
53 JavaScript websocket-like API example::
[all …]
DREADME.chromium1 Name: Python websocket-client
2 Short Name: websocket-client
3 URL: https://github.com/liris/websocket-client
13 websocket-client module is WebSocket client for python. This provide the low
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dsystem_info_backend.py17 websocket = inspector_websocket.InspectorWebsocket()
20 websocket.Connect('ws://127.0.0.1:%i/devtools/page/%i' %
23 websocket.Connect('ws://127.0.0.1:%i/devtools/browser' % self._port)
24 res = websocket.SyncRequest(req, timeout)
26 websocket.Disconnect()
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Dwebsocket_unittest.py12 from telemetry.internal.backends.chrome_inspector import websocket
35 self.assertNotEqual(websocket.create_connection, None)
36 self.assertNotEqual(websocket.WebSocketException, None)
37 self.assertNotEqual(websocket.WebSocketTimeoutException, None)
44 ws = websocket.create_connection(ws_url)
52 ws = websocket.create_connection(
Dwebsocket.py9 from websocket import create_connection as _create_connection
10 from websocket import WebSocketConnectionClosedException
11 from websocket import WebSocketException
12 from websocket import WebSocketTimeoutException
Dtracing_backend.py13 from telemetry.internal.backends.chrome_inspector import websocket
169 except websocket.WebSocketTimeoutException:
173 except (socket.error, websocket.WebSocketException,
208 except websocket.WebSocketTimeoutException:
210 except (socket.error, websocket.WebSocketException):
Dmemory_backend.py11 from telemetry.internal.backends.chrome_inspector import websocket
74 except websocket.WebSocketTimeoutException:
78 except (socket.error, websocket.WebSocketException,
Dinspector_backend.py19 from telemetry.internal.backends.chrome_inspector import websocket
33 except (socket.error, websocket.WebSocketException,
67 except (websocket.WebSocketException, exceptions.TimeoutException) as e:
312 if isinstance(error, websocket.WebSocketTimeoutException):
Dinspector_console.py6 from telemetry.internal.backends.chrome_inspector import websocket
41 except websocket.WebSocketTimeoutException:
Dinspector_websocket_unittest.py11 from telemetry.internal.backends.chrome_inspector import websocket
39 raise websocket.WebSocketTimeoutException()
93 websocket.WebSocketTimeoutException):
Dinspector_websocket.py12 from telemetry.internal.backends.chrome_inspector import websocket
64 self._socket = websocket.create_connection(url, timeout=timeout)
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketFactory.java19 package org.eclipse.jetty.websocket;
220 …ade(HttpServletRequest request, HttpServletResponse response, WebSocket websocket, String protocol) in upgrade() argument
260 …connection = new WebSocketServletConnectionD00(this, websocket, endp, _buffers, http.getTimeStamp(… in upgrade()
270 …connection = new WebSocketServletConnectionD06(this, websocket, endp, _buffers, http.getTimeStamp(… in upgrade()
277 …connection = new WebSocketServletConnectionD08(this, websocket, endp, _buffers, http.getTimeStamp(… in upgrade()
283 …connection = new WebSocketServletConnectionRFC6455(this, websocket, endp, _buffers, http.getTimeSt… in upgrade()
363 WebSocket websocket = null; in acceptWebSocket() local
373 websocket = _acceptor.doWebSocketConnect(request, p); in acceptWebSocket()
374 if (websocket != null) in acceptWebSocket()
383 if (websocket == null) in acceptWebSocket()
[all …]
DWebSocketClient.java19 package org.eclipse.jetty.websocket;
305 …public WebSocket.Connection open(URI uri, WebSocket websocket,long maxConnectTime,TimeUnit units) … in open() argument
309 return open(uri,websocket).get(maxConnectTime,units); in open()
335 public Future<WebSocket.Connection> open(URI uri, WebSocket websocket) throws IOException in open() argument
350 WebSocketFuture holder = new WebSocketFuture(websocket,uri,this,channel); in open()
403 … private WebSocketFuture(WebSocket websocket, URI uri, WebSocketClient client, ByteChannel channel) in WebSocketFuture() argument
405 _websocket=websocket; in WebSocketFuture()
555 …public org.eclipse.jetty.websocket.WebSocket.Connection get() throws InterruptedException, Executi… in get()
567 …public org.eclipse.jetty.websocket.WebSocket.Connection get(long timeout, TimeUnit unit) throws In… in get()
572 org.eclipse.jetty.websocket.WebSocket.Connection connection=null; in get()
DWebSocketServletConnectionD06.java19 package org.eclipse.jetty.websocket;
31 …public WebSocketServletConnectionD06(WebSocketFactory factory, WebSocket websocket, EndPoint endpo… in WebSocketServletConnectionD06() argument
34 super(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol); in WebSocketServletConnectionD06()
DWebSocketConnectionD00.java19 package org.eclipse.jetty.websocket;
37 import org.eclipse.jetty.websocket.WebSocket.OnFrame;
54 …public WebSocketConnectionD00(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, lo… in WebSocketConnectionD00() argument
61 _websocket = websocket; in WebSocketConnectionD00()
69 public org.eclipse.jetty.websocket.WebSocket.Connection getConnection() in getConnection()
408 FrameHandlerD00(WebSocket websocket) in FrameHandlerD00() argument
410 _websocket=websocket; in FrameHandlerD00()
DWebSocketServletConnectionRFC6455.java19 package org.eclipse.jetty.websocket;
32 …public WebSocketServletConnectionRFC6455(WebSocketFactory factory, WebSocket websocket, EndPoint e… in WebSocketServletConnectionRFC6455() argument
35 super(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol,extensions,draft); in WebSocketServletConnectionRFC6455()
DWebSocketServletConnectionD08.java19 package org.eclipse.jetty.websocket;
32 …public WebSocketServletConnectionD08(WebSocketFactory factory, WebSocket websocket, EndPoint endpo… in WebSocketServletConnectionD08() argument
35 super(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol,extensions,draft); in WebSocketServletConnectionD08()
DWebSocketServletConnectionD00.java19 package org.eclipse.jetty.websocket;
33 …public WebSocketServletConnectionD00(WebSocketFactory factory, WebSocket websocket, EndPoint endpo… in WebSocketServletConnectionD00() argument
36 super(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol); in WebSocketServletConnectionD00()
DWebSocketConnectionD08.java19 package org.eclipse.jetty.websocket;
38 import org.eclipse.jetty.websocket.WebSocket.OnBinaryMessage;
39 import org.eclipse.jetty.websocket.WebSocket.OnControl;
40 import org.eclipse.jetty.websocket.WebSocket.OnFrame;
41 import org.eclipse.jetty.websocket.WebSocket.OnTextMessage;
116 …public WebSocketConnectionD08(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, lo… in WebSocketConnectionD08() argument
119 this(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol,extensions,draft,null); in WebSocketConnectionD08()
123 …public WebSocketConnectionD08(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, lo… in WebSocketConnectionD08() argument
133 _webSocket = websocket; in WebSocketConnectionD08()
DWebSocketConnectionD06.java19 package org.eclipse.jetty.websocket;
38 import org.eclipse.jetty.websocket.WebSocket.OnBinaryMessage;
39 import org.eclipse.jetty.websocket.WebSocket.OnControl;
40 import org.eclipse.jetty.websocket.WebSocket.OnFrame;
41 import org.eclipse.jetty.websocket.WebSocket.OnTextMessage;
109 …public WebSocketConnectionD06(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, lo… in WebSocketConnectionD06() argument
116 _webSocket = websocket; in WebSocketConnectionD06()
DWebSocketConnectionRFC6455.java19 package org.eclipse.jetty.websocket;
39 import org.eclipse.jetty.websocket.WebSocket.OnBinaryMessage;
40 import org.eclipse.jetty.websocket.WebSocket.OnControl;
41 import org.eclipse.jetty.websocket.WebSocket.OnFrame;
42 import org.eclipse.jetty.websocket.WebSocket.OnTextMessage;
148 …public WebSocketConnectionRFC6455(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers… in WebSocketConnectionRFC6455() argument
151 this(websocket,endpoint,buffers,timestamp,maxIdleTime,protocol,extensions,draft,null); in WebSocketConnectionRFC6455()
155 …public WebSocketConnectionRFC6455(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers… in WebSocketConnectionRFC6455() argument
165 _webSocket = websocket; in WebSocketConnectionRFC6455()
DAbstractExtension.java19 package org.eclipse.jetty.websocket;
27 import org.eclipse.jetty.websocket.WebSocketParser.FrameHandler;
DMaskGen.java19 package org.eclipse.jetty.websocket;
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/samples/echo/
DSimpleEchoSocket.java42 import org.eclipse.jetty.websocket.api.Session;
43 import org.eclipse.jetty.websocket.api.StatusCode;
44 import org.eclipse.jetty.websocket.api.annotations.OnWebSocketClose;
45 import org.eclipse.jetty.websocket.api.annotations.OnWebSocketConnect;
46 import org.eclipse.jetty.websocket.api.annotations.OnWebSocketMessage;
47 import org.eclipse.jetty.websocket.api.annotations.WebSocket;
DEchoWebSocketsTest.java39 import org.eclipse.jetty.websocket.client.ClientUpgradeRequest;
40 import org.eclipse.jetty.websocket.client.WebSocketClient;

123