bellard / quickjs

Public repository of the QuickJS Javascript Engine.
https://bellard.org/quickjs
Other
8.52k stars 892 forks source link

`fetch` functionality #364

Open nv08 opened 2 weeks ago

nv08 commented 2 weeks ago

Is there a fetch functionality in quickjs the way in javascript happens fetch(url).then(successCallback).error(errorCallback)

@saghul

saghul commented 2 weeks ago

fetch is not implemented.

nv08 commented 2 weeks ago

Any suggestions/workaround to implement fetch. That would really help me to work in that direction

saghul commented 2 weeks ago

You can probably look at integrating something like https://github.com/rsenn/qjs-net

nv08 commented 2 weeks ago

Thanks. Also is there any clue on this one? https://github.com/bellard/quickjs/issues/357 @saghul