UNPKG

@looker/extension-sdk

Version:
11 lines (10 loc) 874 B
import type { Authenticator, HttpMethod, IHostConnection, ITransportSettings, Values } from '@looker/sdk-rtl'; import type { ApiVersion, ExtensionHostApi } from '../connect'; export declare class SdkConnection implements IHostConnection { private hostConnection; private apiVersion; constructor(hostConnection: ExtensionHostApi, apiVersion: ApiVersion); request(httpMethod: string, path: string, body?: any, params?: any, _authenticator?: any, options?: any): Promise<any>; rawRequest(httpMethod: string, path: string, body?: any, params?: any, _authenticator?: Authenticator, _options?: Partial<ITransportSettings>): Promise<any>; stream<T>(_callback: (response: Response) => Promise<T>, _method: HttpMethod, _path: string, _queryParams?: Values, _body?: any, _authenticator?: Authenticator, _options?: Partial<ITransportSettings>): Promise<any>; }