12 lines
489 B
TypeScript
12 lines
489 B
TypeScript
import { Client as StompClient } from '@stomp/stompjs';
|
|
import { HandleMessage, MessageClient } from './BasicMessageClient';
|
|
import { CompleteMessageCliOption } from './MessageBroker';
|
|
export declare class StompMessagingClient extends MessageClient {
|
|
cli: StompClient;
|
|
constructor(options: CompleteMessageCliOption);
|
|
get connected(): boolean;
|
|
subscribe(destination: string, handle: HandleMessage): boolean;
|
|
unsubscribe0(destination: string): void;
|
|
close(): void;
|
|
}
|