Version:
SDK for interfacing with WhatsApp Business Platform in Typescript or Node.js using the Cloud API, hosted by Meta.
19 lines (16 loc) • 454 B
text/typescript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
import http from 'http';
export declare class HttpserverClass {
constructor(
port: number,
cb: (req: http.IncomingMessage, res: http.ServerResponse) => any,
);
isListening: () => boolean;
close: (cb: (err?: Error) => any) => void;
}