Skip to content

Commit 56de5ef

Browse files
Update rsocket-core/src/main/java/io/rsocket/DuplexConnection.java
Co-authored-by: Rossen Stoyanchev <[email protected]>
1 parent 75a6a99 commit 56de5ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rsocket-core/src/main/java/io/rsocket/DuplexConnection.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ public interface DuplexConnection extends Availability, Closeable {
3737
void sendFrame(int streamId, ByteBuf frame);
3838

3939
/**
40-
* Sends terminal frame to the underlying connection and dispose the connection once the frame is
41-
* delivered
40+
* Send an error frame and after it is successfully sent, close the connection.
4241
*
4342
* @param errorFrame with the encoded error
4443
*/

0 commit comments

Comments
 (0)