You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: client/src/main/java/org/asynchttpclient/ws/WebSocket.java
+22-30Lines changed: 22 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,7 @@ public interface WebSocket {
52
52
Future<Void> sendTextFrame(Stringpayload);
53
53
54
54
/**
55
-
* Allows sending a text frame with fragmentation or extension bits.
56
-
* When using fragmentation, the next fragments must be sent with sendContinuationFrame.
55
+
* Allows sending a text frame with fragmentation or extension bits. When using fragmentation, the next fragments must be sent with sendContinuationFrame.
57
56
*
58
57
* @param payload a text fragment.
59
58
* @param finalFragment flag indicating whether or not this is the final fragment
* Allows sending a text frame with fragmentation or extension bits.
67
-
* When using fragmentation, the next fragments must be sent with sendContinuationFrame.
65
+
* Allows sending a text frame with fragmentation or extension bits. When using fragmentation, the next fragments must be sent with sendContinuationFrame.
68
66
*
69
67
* @param payload a ByteBuf fragment.
70
68
* @param finalFragment flag indicating whether or not this is the final fragment
71
69
* @param rsv extension bits, 0 otherwise
72
70
* @return a future that will be completed once the frame will be actually written on the wire
* Allows sending a binary frame with fragmentation or extension bits.
86
-
* When using fragmentation, the next fragments must be sent with sendContinuationFrame.
83
+
* Allows sending a binary frame with fragmentation or extension bits. When using fragmentation, the next fragments must be sent with sendContinuationFrame.
87
84
*
88
85
* @param payload a binary payload
89
86
* @param finalFragment flag indicating whether or not this is the last fragment
* Allows sending a binary frame with fragmentation or extension bits.
97
-
* When using fragmentation, the next fragments must be sent with sendContinuationFrame.
93
+
* Allows sending a binary frame with fragmentation or extension bits. When using fragmentation, the next fragments must be sent with sendContinuationFrame.
98
94
*
99
95
* @param payload a ByteBuf payload
100
96
* @param finalFragment flag indicating whether or not this is the last fragment
@@ -104,53 +100,50 @@ public interface WebSocket {
* Send a continuation frame (those are actually untyped as counterpart must have memorized first fragmented frame type).
130
-
* The last fragment must have finalFragment set to true.
123
+
* Send a continuation frame (those are actually untyped as counterpart must have memorized first fragmented frame type). The last fragment must have finalFragment set to true.
131
124
*
132
125
* @param payload a ByteBuf fragment
133
126
* @param finalFragment flag indicating whether or not this is the last fragment
134
127
* @param rsv extension bits, 0 otherwise
135
128
* @return a future that will be completed once the frame will be actually written on the wire
0 commit comments