A message from the server. A server can send a message either as a response to a remote procedure call or because you created a subscription on a topic.
Stomp.Internal.Message.InternalMessage
A message from the server.
header : String -> Message -> Maybe String
Read the value of a message header.
header "message-id" message
payload : Json.Decode.Decoder a -> Message -> Result String a
Decode the payload content of a message.
import Json.Decode exposing (list, string)
import Stomp.Message
getStrings : Stomp.Message.Message -> List String
getStrings message =
Stomp.Message.payload (list string) message