Skip to content

Commit ca8e73b

Browse files
committed
sending a single end line character for heart beat
1 parent 6d79644 commit ca8e73b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/impl/util_write.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ void writeDataFrame(StompConnector connector, String command,
7979
}
8080

8181
void pongMessage(StompConnector connector) {
82-
writeSimpleFrame(connector, SEND, null);
82+
connector.writeLF();
83+
connector.writeEof();
8384
}
8485

8586
///Write a frame from the given stream

0 commit comments

Comments
 (0)