FetchOpts: { formData?: FormData; params?: Record<string, string>; progressCallback?: ((pe: ProgressEvent) => void); timeout?: number }
Type declaration
-
Optional formData?: FormData
-
Optional params?: Record<string, string>
-
Optional progressCallback?: ((pe: ProgressEvent) => void)
-
- (pe: ProgressEvent): void
-
Returns void
-
Optional timeout?: number
FetchOpts are the "closure" and the optional second argument to all client endpoint function calls, used to modify how estuary-rpc-client constructs the XmlHttpRequest