1 | import { HttpClient } from '@angular/common/http';
|
2 | import { ApolloLink, Observable as LinkObservable, Operation, FetchResult } from 'apollo-link';
|
3 | import { Options } from 'apollo-angular-link-http-common';
|
4 | export declare class HttpLinkHandler extends ApolloLink {
|
5 | private httpClient;
|
6 | private options;
|
7 | requester: (operation: Operation) => LinkObservable<FetchResult> | null;
|
8 | constructor(httpClient: HttpClient, options: Options);
|
9 | request(op: Operation): LinkObservable<FetchResult> | null;
|
10 | }
|
11 | export declare class HttpLink {
|
12 | private httpClient;
|
13 | constructor(httpClient: HttpClient);
|
14 | create(options: Options): HttpLinkHandler;
|
15 | }
|