Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superagent now supports subclassing #44

Open
kornelski opened this issue Nov 28, 2016 · 0 comments
Open

Superagent now supports subclassing #44

kornelski opened this issue Nov 28, 2016 · 0 comments

Comments

@kornelski
Copy link
Contributor

FYI, superagent now supports replacing superagent.Request with another class, like this:

https://github.com/visionmedia/superagent/blob/b5af0b49741b68f7b2504036466bf2c7bc2f56a4/test/use.js#L51,L61

so you could use as an alternative way of patching it.

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

No branches or pull requests

1 participant