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 | export declare class HttpLinkHandler extends ApolloLink {
|
5 | private httpClient;
|
6 | private options;
|
7 | requester: (operation: Operation) => LinkObservable<FetchResult> | null;
|
8 | private print;
|
9 | constructor(httpClient: HttpClient, options: Options);
|
10 | request(op: Operation): LinkObservable<FetchResult> | null;
|
11 | }
|
12 | export declare class HttpLink {
|
13 | private httpClient;
|
14 | constructor(httpClient: HttpClient);
|
15 | create(options: Options): HttpLinkHandler;
|
16 | }
|