@stomp/stompjs
Version:
STOMP client for Javascript and Typescript
13 lines (12 loc) • 366 B
text/typescript
/**
* STOMP headers. Many functions calls will accept headers as parameters.
* The headers sent by Broker will be available as [IFrame#headers]{@link IFrame#headers}.
*
* `key` and `value` must be valid strings.
* In addition, `key` must not contain `CR`, `LF`, or `:`.
*
* Part of `@stomp/stompjs`.
*/
export class StompHeaders {
[key: string]: string;
}