UNPKG

@reclaimprotocol/attestor-core

Version:

<div> <div> <img src="https://raw.githubusercontent.com/reclaimprotocol/.github/main/assets/banners/Attestor-Core.png" /> </div> </div>

9 lines (8 loc) 343 B
import type { IncomingMessage } from 'http'; import type { WebSocket } from 'ws'; /** * 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 WebSocket, typeof IncomingMessage>>;