graphic-pixi/lib/message/WsMsgBroker.d.ts
joylink_fanyuhong 02ac6e6deb 更新版本
2024-09-28 10:13:07 +08:00

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