UNPKG

azure-kusto-data

Version:
45 lines 1.49 kB
import { KustoHeaders } from "./clientDetails.js"; export declare class ClientRequestProperties { private _options; private _parameters; private _clientTimeOut?; clientRequestId: string | null; user: string | null; application: string | null; raw?: boolean; constructor(options?: Record<string, unknown>, parameters?: Record<string, unknown>, clientRequestId?: string, user?: string, application?: string); setOption(name: string, value: any): void; getOption(name: string, defaultValue?: any): any; setParameter(name: string, value: any): void; getParameter(name: string, defaultValue?: any): any; clearParameters(): void; setTimeout(timeoutMillis: number): void; getTimeout(): number | undefined; setClientTimeout(timeoutMillis: number): void; getClientTimeout(): number | undefined; clearOptions(): void; /** * @deprecated use the compliant toJSON() instead */ toJson(): { Options?: { [option: string]: any; }; Parameters?: { [option: string]: any; }; } | null; toJSON(): { Options?: { [option: string]: any; }; Parameters?: { [option: string]: any; }; } | null; toString(): string; _msToTimespan(duration: number): string; getHeaders(): Partial<KustoHeaders>; } export default ClientRequestProperties; //# sourceMappingURL=clientRequestProperties.d.ts.map