@opra/client
Version:
Opra Client package
13 lines (12 loc) • 534 B
TypeScript
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;
}