core.medplumclient.wrappedfetch
Home > @medplum/core > MedplumClient > wrappedFetch
MedplumClient.wrappedFetch() method
Wraps fetch
execution with token refresh and retry logic.
Signature:
wrappedFetch(url: string, options: RequestInit): Promise<Response>;
Parameters
Parameter | Type | Description |
---|---|---|
url | string | The URL to request |
options | RequestInit | Optional fetch options |
Returns:
Promise<Response>
The response