kubo-rpc-client
Version:
A client library for the Kubo RPC API
11 lines • 548 B
TypeScript
import { HTTP } from './http.js';
import type { Options } from '../index.js';
import type { Multiaddr } from '@multiformats/multiaddr';
export declare const errorHandler: (response: Response) => Promise<void>;
export interface HTTPRPCClient extends Exclude<HTTP, 'put' | 'get' | 'delete' | 'options'> {
}
export declare class Client extends HTTP implements HTTPRPCClient {
constructor(options?: Options | URL | Multiaddr | string);
}
export declare const HTTPError: typeof import("./http/error.js").HTTPError;
//# sourceMappingURL=core.d.ts.map