UNPKG

camstreamerlib

Version:

Helper library for CamStreamer ACAP applications.

16 lines (15 loc) 629 B
/// <reference types="node" /> /// <reference types="node" /> import { IClient, HttpOptions } from './internal/common'; export declare class DefaultAgent implements IClient { private tls; private ip; private port; private user; private pass; private httpRequestSender; constructor(opt?: HttpOptions); get(path: string, parameters?: Record<string, string>, headers?: Record<string, string>): Promise<Response>; post(path: string, data: string | Buffer | FormData, parameters?: Record<string, string>, headers?: Record<string, string>): Promise<Response>; private getBaseConnectionParams; }