Swap-Aggregator-Subgraph/node_modules/sync-request/lib/Options.js.flow
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

28 lines
542 B
Plaintext

// @flow
// Generated using flowgen2
import type {Options as AsyncOptions} from 'then-request';
import {FormData} from './FormData';
import type {FormDataEntry} from './FormData';
interface BaseOptions {
agent?: boolean;
cache?: 'file';
retry?: boolean;
retryDelay?: number;
socketTimeout?: number;
timeout?: number;
body?: string | Buffer;
}
export type {BaseOptions};
interface Options {
form?: FormData;
}
export type {Options};
interface MessageOptions {
form?: Array<FormDataEntry>;
}
export type {MessageOptions};