Home
last modified time | relevance | path

Searched refs:sendFrame (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java70 peer.sendFrame() in clientCreatesStreamAndServerReplies()
72 peer.sendFrame().data(true, 1, new Buffer().writeUtf8("robot"), 5); in clientCreatesStreamAndServerReplies()
101 peer.sendFrame().synReply(false, 1, headerEntries("b", "banana")); in headersOnlyStreamIsClosedAfterReplyHeaders()
103 peer.sendFrame().ping(true, 1, 0); in headersOnlyStreamIsClosedAfterReplyHeaders()
118 peer.sendFrame().synReply(true, 1, headerEntries("a", "android")); in clientCreatesStreamAndServerRepliesWithFin()
119 peer.sendFrame().ping(true, 1, 0); in clientCreatesStreamAndServerRepliesWithFin()
147 peer.sendFrame().synStream(false, false, 2, 0, pushHeaders); in serverCreatesStreamAndClientReplies()
178 peer.sendFrame().synStream(false, false, 2, 0, headerEntries("a", "android")); in replyWithNoData()
204 peer.sendFrame().ping(false, 2, 0); in serverPingsClient()
222 peer.sendFrame().ping(true, 1, 5); // payload2 ignored in spdy! in clientPingsServer()
[all …]
DHttp2ConnectionTest.java62 peer.sendFrame().ping(false, 2, 3); in serverPingsClientHttp2()
83 peer.sendFrame().ping(true, 1, 5); in clientPingsServerHttp2()
108 peer.sendFrame().settings(initial);
110 peer.sendFrame().settings(shouldntImpactConnection);
182 peer.sendFrame().goAway(3, PROTOCOL_ERROR, Util.EMPTY_BYTE_ARRAY);
184 peer.sendFrame().ping(true, 1, 0);
236 peer.sendFrame().synReply(false, 3, headerEntries("a", "android"));
239 peer.sendFrame().data(false, 3, data(24), 24);
240 peer.sendFrame().data(false, 3, data(25), 25);
241 peer.sendFrame().data(false, 3, data(1), 1);
[all …]
DMockSpdyPeer.java79 public FrameWriter sendFrame() { in sendFrame() method in MockSpdyPeer
88 public void sendFrame(byte[] frame) throws IOException { in sendFrame() method in MockSpdyPeer
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java137 sendFrame(new CloseFrame(code, reason)); in close()
221 sendFrame(new WebSocketFrame(OpCode.Pong, true, frame.getBinaryPayload())); in handleWebsocketFrame()
238 sendFrame(new WebSocketFrame(OpCode.Ping, true, payload)); in ping()
263 sendFrame(new WebSocketFrame(OpCode.Binary, true, payload)); in send()
267 sendFrame(new WebSocketFrame(OpCode.Text, true, payload)); in send()
270 public synchronized void sendFrame(WebSocketFrame frame) throws IOException { in sendFrame() method in NanoWSD.WebSocket
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/
DDebugWebSocketServer.java90 sendFrame(message); in onMessage()