13 lines
553 B
TypeScript
13 lines
553 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;
|
|
publishMessage(destination: string, message: string): void;
|
|
close(): void;
|
|
}
|