SockJSParser constructor

SockJSParser({
  1. required dynamic onStompFrame(
    1. StompFrame
    ),
  2. required void onDone(),
  3. StompPingFrameCallback? onPingFrame,
})

Implementation

SockJSParser({
  required Function(StompFrame) onStompFrame,
  required this.onDone,
  StompPingFrameCallback? onPingFrame,
}) {
  _stompParser = StompParser(onStompFrame, onPingFrame);
}