1 | import { HttpClient } from '@angular/common/http';
|
2 | import { ApolloLink, Observable as LinkObservable, Operation, FetchResult } from '@apollo/client/core';
|
3 | import { Options } from './types';
|
4 | import * as i0 from "@angular/core";
|
5 | export declare class HttpLinkHandler extends ApolloLink {
|
6 | private httpClient;
|
7 | private options;
|
8 | requester: (operation: Operation) => LinkObservable<FetchResult> | null;
|
9 | private print;
|
10 | constructor(httpClient: HttpClient, options: Options);
|
11 | request(op: Operation): LinkObservable<FetchResult> | null;
|
12 | }
|
13 | export declare class HttpLink {
|
14 | private httpClient;
|
15 | constructor(httpClient: HttpClient);
|
16 | create(options: Options): HttpLinkHandler;
|
17 | static ɵfac: i0.ɵɵFactoryDeclaration<HttpLink, never>;
|
18 | static ɵprov: i0.ɵɵInjectableDeclaration<HttpLink>;
|
19 | }
|