UNPKG

ipfsd-ctl

Version:
24 lines 499 B
import type { ServerInit } from './server.js'; /** * Creates an instance of Server */ declare class Server { private readonly options; port: number; host: string; constructor(options?: ServerInit); /** * Start the server * * @returns {Promise<Server>} */ start(): Promise<this>; /** * Stop the server * * @returns {Promise<void>} */ stop(): Promise<void>; } export default Server; //# sourceMappingURL=server.browser.d.ts.map