IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

Headers Property

User-defined headers added to outgoing messages.


 getHeaders(): STOMPHeaderList;

 setHeaders(headers: STOMPHeaderList): void;

Default Value


This property holds a collection of stompheader items representing user-defined headers. The headers in this collection are added to each outgoing message sent with SendMessage or SendData.

Note that the STOMP specification defines a number of standard headers necessary for implementing the STOMP protocol. When constructing an outgoing message, the class silently ignores any user-defined headers that are already set by the class.

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 JavaScript Edition - Version 20.0 [Build 8265]