Skip to Content
WhatsApp MCPAPI Reference (generated)TransportHTTPInterfacesHttpServerHandle

whatsapp-mcp


whatsapp-mcp / transport/http / HttpServerHandle

Interface: HttpServerHandle

Defined in: src/transport/http.ts:32 

Return value of startHttpServer — used by tests and by graceful shutdown.

Properties

app

readonly app: Express;

Defined in: src/transport/http.ts:33 


port

readonly port: number;

Defined in: src/transport/http.ts:35 


server

readonly server: Server;

Defined in: src/transport/http.ts:34 

Methods

close()

close(): Promise<void>;

Defined in: src/transport/http.ts:36 

Returns

Promise<void>