Home
last modified time | relevance | path

Searched refs:webSocket (Results 1 – 3 of 3) sorted by relevance

/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
DWebSocketResponseHandlerTest.java29 private WebSocket webSocket; field in WebSocketResponseHandlerTest
53 when(webSocketFactory.openWebSocket(any(IHTTPSession.class))).thenReturn(webSocket); in setUp()
54 when(webSocket.getHandshakeResponse()).thenReturn(response); in setUp()
63 verify(webSocket).getHandshakeResponse(); in testHandshakeReturnsResponseWithExpectedHeaders()
111 verify(webSocket).getHandshakeResponse(); in testConnectionHeaderHandlesKeepAlive_FixingFirefoxConnectIssue()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DWebSocketResponseHandler.java42 WebSocket webSocket = webSocketFactory.openWebSocket(session); in serve() local
43 Response handshakeResponse = webSocket.getHandshakeResponse(); in serve()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DDOMWebSocket.cpp263 DOMWebSocket* webSocket(adoptRefCountedGarbageCollectedWillBeNoop(new DOMWebSocket(context))); in create() local
264 webSocket->suspendIfNeeded(); in create()
266 webSocket->connect(url, protocols, exceptionState); in create()
270 return webSocket; in create()