@solid/community-server
Version:
Community Solid Server: an open and modular implementation of the Solid specifications
13 lines (12 loc) • 350 B
TypeScript
import type { Server } from 'node:http';
import { Server as HttpsServer } from 'node:https';
/**
* Returns `true` if the server is an HTTPS server.
*/
export declare function isHttpsServer(server: Server): server is HttpsServer;
/**
* A factory for HTTP servers.
*/
export interface HttpServerFactory {
createServer: () => Promise<Server>;
}