graphic-pixi/lib/message/WsMsgBroker.d.ts
2023-12-14 13:07:42 +08:00

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;
}