@reclaimprotocol/attestor-core
Version:
<div> <div> <img src="https://raw.githubusercontent.com/reclaimprotocol/.github/main/assets/banners/Attestor-Core.png" /> </div> </div>
8 lines (7 loc) • 304 B
TypeScript
import { IncomingMessage } from 'http';
/**
* Creates the WebSocket API server,
* creates a fileserver to serve the browser RPC client,
* and listens on the given port.
*/
export declare function createServer(port?: number): Promise<import("ws").Server<typeof import("ws"), typeof IncomingMessage>>;