Type alias ConnectionInfo
ConnectionInfo: {
allowGzip?: boolean;
allowInsecureAuthentication?: boolean;
errorPassThrough?: boolean;
fetchOptions?: Record<string, string>;
headers?: {
[key: string]: string | number;
};
password?: string;
skipFetchSetup?: boolean;
throttleCallback?: ((attempt: number, url: string) => Promise<boolean>);
throttleLimit?: number;
throttleSlotInterval?: number;
timeout?: number;
url: string;
user?: string;
}
Type declaration
-
Optional
allowGzip?: boolean
-
Optional
allowInsecureAuthentication?: boolean
-
Optional
errorPassThrough?: boolean
-
Optional
fetchOptions?: Record<string, string>
-
Optional
headers?: {
[key: string]: string | number;
}
-
[key: string]: string | number
-
Optional
password?: string
-
Optional
skipFetchSetup?: boolean
-
Optional
throttleCallback?: ((attempt: number, url: string) => Promise<boolean>)
-
- (attempt: number, url: string): Promise<boolean>
-
Parameters
-
attempt: number
-
url: string
Returns Promise<boolean>
-
Optional
throttleLimit?: number
-
Optional
throttleSlotInterval?: number
-
Optional
timeout?: number
-
url: string
-
Optional
user?: string