aimpress-chatbot/node_modules/botbuilder/lib/interfaces/webResponse.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

41 lines
No EOL
1.1 KiB
TypeScript

/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Represents an Express or Restify response object.
*
* This interface supports the framework and is not intended to be called directly for your code.
*/
export interface WebResponse {
/**
*
* Optional. The underlying socket.
*/
socket?: any;
/**
* When implemented in a derived class, sends a FIN packet.
*
* @param args The arguments for the end event.
* @returns A reference to the response object.
*/
end(...args: any[]): any;
/**
* When implemented in a derived class, sends the response.
*
* @param body The response payload.
* @returns A reference to the response object.
*/
send(body: any): any;
/**
* When implemented in a derived class, sets the HTTP status code for the response.
*
* @param status The status code to use.
* @returns The status code.
*/
status(status: number): any;
}
//# sourceMappingURL=webResponse.d.ts.map