Skip to content

Conversation

@50Bytes-dev
Copy link

No description provided.

@50Bytes-dev
Copy link
Author

Example usage:

FileService.uploadFile({
    file,
}).axiosConfig({
    onUploadProgress: (event) => {
        // Do something with the event
        console.log(event.loaded / event.total)
    }
})

@brmdbr
Copy link

brmdbr commented Nov 29, 2023

Can we get this merged? This opens up infinite possibilities.

@kkettinger
Copy link

Bump, also very interested in this PR.

@jordanshatford
Copy link

To anyone still looking for this, check out our (previously forked) version of this package https://github.com/hey-api/openapi-ts. We have just recently added support for setting request/response interceptors. In the case of axios, this would allow you to modify the config used for each request before the request is sent. Please check it out if you'd like, and create any issues if you run into problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants