StompEncoder.encode

Encodes the given payload and headers into a {@code byte[]}. @param headers the headers @param payload the payload @return the encoded message

  1. byte[] encode(Message!(byte[]) message)
  2. byte[] encode(Map!(string, Object) headers, byte[] payload)
    class StompEncoder
    byte[]
    encode
    (
    Map!(string, Object) headers
    ,
    byte[] payload
    )

Meta