FetchOpts: { formData?: FormData; params?: Record<string, string>; progressCallback?: ((pe: ProgressEvent) => void); 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

Type declaration

  • Optional formData?: FormData
  • Optional params?: Record<string, string>
  • Optional progressCallback?: ((pe: ProgressEvent) => void)
      • (pe: ProgressEvent): void
      • Parameters

        • pe: ProgressEvent

        Returns void

  • Optional timeout?: number

Generated using TypeDoc