webstomp-obs
Version:
Stomp over websocket using observable
15 lines (14 loc) • 511 B
TypeScript
import Client from './client';
import { ClientOptions } from './client';
import { IWebSocket } from './types';
export declare const stompobservable: {
VERSIONS: {
V1_0: string;
V1_1: string;
V1_2: string;
supportedVersions: () => string;
supportedProtocols: () => string[];
};
client: (url: string, options?: ClientOptions, protocols?: string[]) => Client;
over: (createWsConnection: () => IWebSocket, options?: ClientOptions) => Client;
};