@selfage/node_service_client
Version:
Http client to make remote call to services from Nodejs applications.
10 lines (9 loc) • 422 B
TypeScript
import { NodeClientOptions, NodeServiceClient } from "./client";
import { ClientRequestInterface } from "@selfage/service_descriptor/client_request_interface";
export declare class NodeServiceClientMock extends NodeServiceClient {
request: ClientRequestInterface<any>;
error: Error;
response: any;
constructor();
send(request: ClientRequestInterface<any>, options?: NodeClientOptions): Promise<any>;
}