UNPKG

@opra/client

Version:
13 lines (12 loc) 534 B
import { kBackend } from '../constants.js'; import { FetchBackend } from './fetch-backend.js'; import { HttpClientBase } from './http-client-base.js'; /** * * @class HttpFetchClient */ export declare class HttpFetchClient<TRequestOptions extends FetchBackend.RequestOptions = FetchBackend.RequestOptions, TResponseExt = {}> extends HttpClientBase<TRequestOptions, TResponseExt> { [kBackend]: FetchBackend; constructor(serviceUrl: string, options?: FetchBackend.Options); get defaults(): FetchBackend.RequestDefaults; }