UNPKG

376 BTypeScriptView Raw
1/**
2 * STOMP headers. Many functions calls will accept headers as parameters.
3 * The headers sent by Broker will be available as [IFrame#headers]{@link IFrame#headers}.
4 *
5 * `key` and `value` must be valid strings.
6 * In addition, `key` must not contain `CR`, `LF`, or `:`.
7 *
8 * Part of `@stomp/stompjs`.
9 */
10export declare class StompHeaders {
11 [key: string]: string;
12}