StompParser class
This Parser is heavily based on the excellent recursive descent parser found here https://github.com/stomp-js/stompjs/blob/master/src/parser.ts Credit: https://github.com/kum-deepak
- Implemented types
Constructors
- StompParser(StompFrameCallback onStompFrame, [StompPingFrameCallback? onPingFrame])
Properties
- escapeHeaders ↔ bool
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPingFrame → StompPingFrameCallback?
-
final
- onStompFrame → StompFrameCallback
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseData(
dynamic data) → void -
override
-
serializeFrame(
StompFrame frame) → dynamic -
We don't need to worry about reversing the header since we use a map and
the last value written would just be the most up to date value, which is
also fine with the spec
https://stomp.github.io/stomp-specification-1.2.html#Repeated_Header_Entries
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited