Closed manchenkoff closed 4 weeks ago
Is your PR related to a specific issue/feature? Please describe and mention issues.
Closes #95 by providing additional app.config.ts section to configure onRequest and onResponse interceptors for ofetch instance.
app.config.ts
onRequest
onResponse
Additional context
Interceptor function receives an instance of NuxtApp, Logger, and FetchContext in order to have access to other plugins and configurations.
Checklist:
Is your PR related to a specific issue/feature? Please describe and mention issues.
Closes #95 by providing additional
app.config.ts
section to configureonRequest
andonResponse
interceptors for ofetch instance.Additional context
Interceptor function receives an instance of NuxtApp, Logger, and FetchContext in order to have access to other plugins and configurations.
Checklist: