aimpress-chatbot/node_modules/botframework-streaming/lib/interfaces/INodeSocket.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
640 B
TypeScript

/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/// <reference types="node" />
import { Socket } from 'net';
import { INodeBuffer } from './INodeBuffer';
/**
* Represents a Socket from the `net` module in Node.js.
*
* This interface supports the framework and is not intended to be called directly for your code.
*/
export interface INodeSocket extends Socket {
on(event: string, listener: (...args: any[]) => void): this;
on(event: 'data', listener: (data: INodeBuffer) => void): this;
}
//# sourceMappingURL=INodeSocket.d.ts.map