cleansend
Version:
A TypeScript implementation of the OpenMsg Protocol - secure, decentralized messaging system with end-to-end encryption for cross-domain communication
28 lines • 853 B
TypeScript
/**
* CleanSend - OpenMsg Protocol Server
*
* This is the main server file that sets up an Express.js application implementing
* the OpenMsg Protocol for secure, decentralized messaging between users across
* different domains.
*
* Features:
* - RESTful API for authentication and messaging
* - Cross-domain secure communication
* - End-to-end encryption using AES-256-GCM
* - Pass code-based handshake protocol
* - Sandbox mode for development/testing
*
* @author Keshara1997
* @version 1.0.0
*/
/**
* Start the OpenMsg Protocol server
*
* This function:
* 1. Tests database connectivity
* 2. Starts the Express server on configured port
* 3. Displays startup information and available endpoints
* 4. Handles startup errors gracefully
*/
export declare function startServer(): Promise<void>;
//# sourceMappingURL=server.d.ts.map