hono icon indicating copy to clipboard operation
hono copied to clipboard

Is there a way to integrate axios with api client?

Open Aokoooooo opened this issue 4 months ago • 1 comments

What is the feature you are proposing?

axios provides a lot of usefull abilities and the basic fetch api is not simple to use. Is there a way to integrate it?

Aokoooooo avatar Aug 18 '25 14:08 Aokoooooo

Hi, which features of axios are you wanting to use?

The api client already allows passing in a custom fetch method,
For features like hooks, retries, timeout, you can use a web-standard compatible fetch implementation (one that does not parse response) like https://github.com/sindresorhus/ky

NamesMT avatar Aug 19 '25 02:08 NamesMT