aimpress-chatbot/node_modules/botframework-streaming/lib/requestHandler.d.ts
“SamoilenkoVadym” 195299ece0 Initial commit
2025-04-27 17:05:18 +01:00

22 lines
No EOL
859 B
TypeScript

/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { IReceiveRequest } from './interfaces';
import type { StreamingResponse } from './streamingResponse';
/**
* Implemented by classes used to process incoming streaming requests sent over an [IStreamingTransport](xref:botframework-streaming.IStreamingTransport).
*/
export declare abstract class RequestHandler {
/**
* The method that must be implemented in order to handle incoming requests.
*
* @param request A receipt request for this handler to process.
* @returns A promise that will produce a streaming response on successful completion.
*/
abstract processRequest(request: IReceiveRequest): Promise<StreamingResponse>;
}
//# sourceMappingURL=requestHandler.d.ts.map