equal
deleted
inserted
replaced
62 boolean serverPushAllowed(); |
62 boolean serverPushAllowed(); |
63 |
63 |
64 void serverPush(URI uri, HttpHeadersImpl headers, InputStream content); |
64 void serverPush(URI uri, HttpHeadersImpl headers, InputStream content); |
65 |
65 |
66 /** |
66 /** |
67 * Send a PING on this exchanges connection, and complete the given CF |
67 * Send a PING on this exchanges connection, and completes the returned CF |
68 * with the number of milliseconds it took to get a valid response. |
68 * with the number of milliseconds it took to get a valid response. |
69 * It may also complete exceptionally |
69 * It may also complete exceptionally |
70 */ |
70 */ |
71 void sendPing(CompletableFuture<Long> cf) throws IOException; |
71 CompletableFuture<Long> sendPing(); |
72 } |
72 } |