postchain-client
Version:
Client library for accessing a Postchain node through REST.
5 lines (4 loc) • 335 B
TypeScript
/// <reference types="node" />
import { Method } from "./enums";
import { HandleRequestInputProps, ResponseObject } from "./types";
export declare function requestWithFailoverStrategy(method: Method, path: string, config: HandleRequestInputProps["config"], postObject?: Buffer, forceSingleEndpoint?: boolean): Promise<ResponseObject>;