aimpress-chatbot/node_modules/botframework-streaming/lib/interfaces/IStreamingTransportServer.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

20 lines
No EOL
713 B
TypeScript

/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { IReceiveResponse } from './IReceiveResponse';
import { StreamingRequest } from '../streamingRequest';
/**
* Abstraction to define the characteristics of a streaming transport server.
* Example possible implementations include WebSocket transport server or NamedPipe transport server.
*/
export interface IStreamingTransportServer {
start(onListen?: () => void): Promise<string>;
disconnect(): void;
send(request: StreamingRequest): Promise<IReceiveResponse>;
isConnected?: boolean;
}
//# sourceMappingURL=IStreamingTransportServer.d.ts.map