NSwag icon indicating copy to clipboard operation
NSwag copied to clipboard

Axios-client could also support AbortSignal

Open jpa00 opened this issue 2 years ago • 0 comments

NSwag currently generates Axios-client with support for a CancelToken, and the useAbortSignal-flag has no effect. Axios does have support for AbortSignal as well, so could the useAbortSignal-flag be used with the Axios template as well to accept AbortSignal as the last parameter instead of a CancelToken? This could be set on the AxiosRequestConfig-object directly, just like the CancelToken currently is.

jpa00 avatar Jun 14 '22 11:06 jpa00