/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/ |
D | SRWebSocket.h | 99 - (void)webSocket:(SRWebSocket *)webSocket didReceiveMessage:(id)message; 103 - (void)webSocketDidOpen:(SRWebSocket *)webSocket; 104 - (void)webSocket:(SRWebSocket *)webSocket didFailWithError:(NSError *)error; 105 - (void)webSocket:(SRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reas… 106 - (void)webSocket:(SRWebSocket *)webSocket didReceivePong:(NSData *)pongPayload;
|
D | SRWebSocket.m | 149 typedef void (^data_callback)(SRWebSocket *webSocket, NSData *data); 679 if ([self.delegate respondsToSelector:@selector(webSocket:didFailWithError:)]) { 680 [self.delegate webSocket:self didFailWithError:error]; 747 if ([self.delegate respondsToSelector:@selector(webSocket:didReceivePong:)]) { 748 [self.delegate webSocket:self didReceivePong:pongData]; 757 [self.delegate webSocket:self didReceiveMessage:message]; 1108 … if ([self.delegate respondsToSelector:@selector(webSocket:didCloseWithCode:reason:wasClean:)]) { 1109 … [self.delegate webSocket:self didCloseWithCode:_closeCode reason:_closeReason wasClean:YES]; 1456 … if ([self.delegate respondsToSelector:@selector(webSocket:didCloseWithCode:reason:wasClean:)]) { 1457 …[self.delegate webSocket:self didCloseWithCode:SRStatusCodeGoingAway reason:@"Stream end encounter…
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketCallTest.java | 57 WebSocket webSocket = awaitWebSocket(); in clientPingPong() local 58 webSocket.sendPing(new Buffer().writeUtf8("Hello, WebSockets!")); in clientPingPong() 66 WebSocket webSocket = awaitWebSocket(); in clientMessage() local 67 webSocket.sendMessage(RequestBody.create(TEXT, "Hello, WebSockets!")); in clientMessage() 73 @Override public void onOpen(final WebSocket webSocket, Response response) { in serverMessage() 77 webSocket.sendMessage(RequestBody.create(TEXT, "Hello, WebSockets!")); in serverMessage() 199 WebSocket webSocket = awaitWebSocket(request1); in websocketScheme() local 200 webSocket.sendMessage(RequestBody.create(TEXT, "abc")); in websocketScheme() 216 @Override public void onOpen(WebSocket webSocket, Response response) { in awaitWebSocket() 217 webSocketRef.set(webSocket); in awaitWebSocket() [all …]
|
D | WebSocketRecorder.java | 47 @Override public void onOpen(WebSocket webSocket, Response response) { in onOpen() argument
|
/external/okhttp/okhttp-ws-tests/src/main/java/com/squareup/okhttp/ws/ |
D | AutobahnTester.java | 76 private WebSocket webSocket; in runTest() 78 @Override public void onOpen(WebSocket webSocket, Response response) { in runTest() 79 this.webSocket = webSocket; in runTest() 97 webSocket.sendMessage(response); in runTest() 136 @Override public void onOpen(WebSocket webSocket, Response response) { in getTestCount() 173 @Override public void onOpen(WebSocket webSocket, Response response) { in updateReports()
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | WebSocketEcho.java | 35 @Override public void onOpen(final WebSocket webSocket, Response response) { in onOpen() argument 39 webSocket.sendMessage(RequestBody.create(TEXT, "Hello...")); in onOpen() 40 webSocket.sendMessage(RequestBody.create(TEXT, "...World!")); in onOpen() 41 webSocket.sendMessage(RequestBody.create(BINARY, ByteString.decodeHex("deadbeef"))); in onOpen() 42 webSocket.close(1000, "Goodbye, World!"); in onOpen()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | RecordedResponse.java | 35 public final WebSocket webSocket; field in RecordedResponse 39 public RecordedResponse(Request request, Response response, WebSocket webSocket, String body, in RecordedResponse() argument 43 this.webSocket = webSocket; in RecordedResponse()
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
D | ARDWebSocketChannel.m | 128 - (void)webSocketDidOpen:(SRWebSocket *)webSocket { 136 - (void)webSocket:(SRWebSocket *)webSocket didReceiveMessage:(id)message { 159 - (void)webSocket:(SRWebSocket *)webSocket didFailWithError:(NSError *)error { 164 - (void)webSocket:(SRWebSocket *)webSocket
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
D | WebSocketCall.java | 148 RealWebSocket webSocket = StreamWebSocket.create( in createWebSocket() local 151 listener.onOpen(webSocket, response); in createWebSocket() 153 while (webSocket.readMessage()) { in createWebSocket()
|
D | WebSocketListener.java | 34 void onOpen(WebSocket webSocket, Response response); in onOpen() argument
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 676 final RealWebSocket webSocket = 699 listener.onOpen(webSocket, fancyResponse); 701 while (webSocket.readMessage()) {
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
D | NanoWSD.java | 846 WebSocket webSocket = openWebSocket(session); in serve() local 847 Response handshakeResponse = webSocket.getHandshakeResponse(); in serve()
|