aimpress-chatbot/node_modules/botframework-streaming/_ts3.4/lib/disassemblers/responseDisassembler.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

34 lines
1.4 KiB
TypeScript

/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { PayloadTypes } from '../payloads/payloadTypes';
import { PayloadSender } from '../payloadTransport/payloadSender';
import { StreamingResponse } from '../streamingResponse';
import { PayloadDisassembler } from './payloadDisassembler';
import { IStreamWrapper } from '../interfaces';
/**
* Streaming response disassembler.
*/
export declare class ResponseDisassembler extends PayloadDisassembler {
readonly response: StreamingResponse;
readonly payloadType: PayloadTypes;
/**
* Initializes a new instance of the [ResponseDisassembler](xref:botframework-streaming.ResponseDisassembler) class.
*
* @param sender The [PayloadSender](xref:botframework-streaming.PayloadSender) to send the disassembled data to.
* @param id The ID of this disassembler.
* @param response The response to be disassembled.
*/
constructor(sender: PayloadSender, id: string, response: StreamingResponse);
/**
* Gets the stream this disassembler is operating on.
*
* @returns An [IStreamWrapper](xref:botframework-streaming.IStreamWrapper) with a Subscribable Stream.
*/
getStream(): Promise<IStreamWrapper>;
}
//# sourceMappingURL=responseDisassembler.d.ts.map