aimpress-chatbot/node_modules/botframework-streaming/lib/utilities/createNodeServer.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

24 lines
No EOL
743 B
TypeScript

/**
* @module botframework-streaming
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { INodeServer, INodeSocket } from '../interfaces';
declare type ConnectionListener = (socket: INodeSocket) => void;
/**
* Create a Node 'net' server
*
* @param callback Optional connection listener
* @returns a Node 'net' server instance
*/
export declare function createNodeServer(callback?: ConnectionListener): INodeServer;
/**
* Get a function that creates a Node 'net' server instance
*
* @returns a server factory function
*/
export declare function getServerFactory(): (callback?: ConnectionListener) => INodeServer;
export {};
//# sourceMappingURL=createNodeServer.d.ts.map