camstreamerlib
Version:
Helper library for CamStreamer ACAP applications.
11 lines (10 loc) • 442 B
TypeScript
import { IClient, TGetParams, TResponse } from './types';
import { TProxyParams } from '../types/common';
export declare class ProxyClient<Client extends IClient<TResponse, any>> {
private client;
private proxyParams;
constructor(client: Client, proxyParams: TProxyParams);
get(params: TGetParams): ReturnType<Client["get"]>;
post(params: Parameters<Client['post']>[0]): ReturnType<Client["post"]>;
private getReal;
}