UNPKG

@wandelbots/nova-js

Version:

Official JS client for the Wandelbots API

13 lines 616 B
import type { AxiosResponse, InternalAxiosRequestConfig } from "axios"; import type { AutoReconnectingWebsocket } from "../../AutoReconnectingWebsocket"; /** * EXPERIMENTAL * Ultra-simplified mock Nova server for testing stuff */ export declare class MockNovaInstance { readonly connections: AutoReconnectingWebsocket[]; handleAPIRequest(config: InternalAxiosRequestConfig): Promise<AxiosResponse>; handleWebsocketConnection(socket: AutoReconnectingWebsocket): void; handleWebsocketMessage(socket: AutoReconnectingWebsocket, message: string): void; } //# sourceMappingURL=MockNovaInstance.d.ts.map