1 | import { ApolloLink, RequestHandler } from 'apollo-link';
|
2 | import { HttpOptions, UriFunction as _UriFunction } from 'apollo-link-http-common';
|
3 | export declare namespace HttpLink {
|
4 | interface UriFunction extends _UriFunction {
|
5 | }
|
6 | interface Options extends HttpOptions {
|
7 | useGETForQueries?: boolean;
|
8 | }
|
9 | }
|
10 | export import FetchOptions = HttpLink.Options;
|
11 | export import UriFunction = HttpLink.UriFunction;
|
12 | export declare const createHttpLink: (linkOptions?: FetchOptions) => ApolloLink;
|
13 | export declare class HttpLink extends ApolloLink {
|
14 | requester: RequestHandler;
|
15 | constructor(opts?: HttpLink.Options);
|
16 | }
|
17 | //# sourceMappingURL=httpLink.d.ts.map |
\ | No newline at end of file |