removeTransactionHeader static method

StompFrame removeTransactionHeader(
  1. StompFrame frame
)

Removes transaction header from a frame

Implementation

static StompFrame removeTransactionHeader(StompFrame frame) {
  final newFrame = frame.copy();
  newFrame.removeHeader(StompHeaders.transaction);
  return newFrame;
}