Interface FetchAddonCtx<RequestMixin>

context that is passed to each addon in the order they were added you can safely modify anything in this object

interface FetchAddonCtx<RequestMixin extends object> {
    baseOptions: FfetchOptions & RequestMixin;
    options: FfetchOptions & RequestMixin;
    url: string;
}

Type Parameters

  • RequestMixin extends object

Properties

base options passed to createFfetch

options of this specific request

url: string

url of the request (with baseUrl already applied)