core.medplumrequestoptions
Home > @medplum/core > MedplumRequestOptions
MedplumRequestOptions interface
Signature:
export interface MedplumRequestOptions extends RequestInit
Extends: RequestInit
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
disableAutoBatch? | boolean | (Optional) Optional flag to disable auto-batching for this specific request. Only applies when the client is configured with auto-batching enabled. | |
followRedirectOnCreated? | boolean | (Optional) Optional flag to follow "Location" or "Content-Location" URL on successful HTTP 201 "Created" responses. | |
followRedirectOnOk? | boolean | (Optional) Optional flag to follow "Location" or "Content-Location" URL on successful HTTP 200 "OK" responses. | |
maxRetries? | number | (Optional) Optional max number of retries that should be made in the case of a failed request. Default is | |
maxRetryTime? | number | (Optional) Optional maximum time to wait between retries, in milliseconds; defaults to | |
pollStatusOnAccepted? | boolean | (Optional) Optional flag to poll the status URL on successful HTTP 202 "Accepted" responses. | |
pollStatusPeriod? | number | (Optional) Optional polling time interval in milliseconds. Default value is 1000 (1 second). |