You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we have event loops and once #2423 is done, it is a good idea to start experimenting and working on making our APIs use it.
A good candidate is k6/http and we have had for some time wondered if we should not implement fetch api.
This should definitely start in an extension and is likely to need changes to netext and httpext which should also probably be first done in the extension alone.
The idea here is not to implement the whole specification. It's mostly to see whether it's possible and whether that will be beneficial for k6. It's also good idea to keep #2311 in mind but also probably most issues labeled with new-http as those are things we would like to support.
This is very likely to not ever be merged in k6, so again, its should not be perfect or complete.
The text was updated successfully, but these errors were encountered:
Supporting fetch would mean that users would be free to use their preferred request library like axios, got or any future ones. It also enables support for things like graphql clients and lots of 3rd party SDKs
Now that we have event loops and once #2423 is done, it is a good idea to start experimenting and working on making our APIs use it.
A good candidate is
k6/http
and we have had for some time wondered if we should not implement fetch api.This should definitely start in an extension and is likely to need changes to
netext
andhttpext
which should also probably be first done in the extension alone.The idea here is not to implement the whole specification. It's mostly to see whether it's possible and whether that will be beneficial for k6. It's also good idea to keep #2311 in mind but also probably most issues labeled with new-http as those are things we would like to support.
This is very likely to not ever be merged in k6, so again, its should not be perfect or complete.
The text was updated successfully, but these errors were encountered: