UNPKG

webstomp-obs

Version:

Stomp over websocket using observable

21 lines (20 loc) 691 B
import Frame from './frame'; export declare const BYTES: { LF: string; NULL: string; }; export declare const trim: (str: string) => string; export declare function unicodeStringToTypedArray(s: string): Uint8Array; export declare function typedArrayToUnicodeString(ua: any): string; export declare function sizeOfUTF8(s: string): number; export declare const parseData: (data: any, partialData: any, hearbeatMsg: string) => { frames: Frame[]; partial: string; }; export declare class Log { hasDebug: boolean; setDebug: (_hasDebug: boolean) => void; debug: (message: any, ...args: any[]) => void; } declare const logger: Log; export { logger };