3 ms·
It would need to have its HTTP code gutted and replaced with something that uses JS's XMLHttpRequest or the request API, but I think that's all you'd need to ch
by TazeTSchnitzel 8y ago
It would need to have its HTTP code gutted and replaced with something that uses JS's XMLHttpRequest or the request API, but I think that's all you'd need to change.
- MuffinFlavored 8y agoOr write a C function called http_request, refactor all of Lynx to use just this one function, and then do something like #if PLATFORM === 'WASM' then fetch() else the actual sockets and stuff end
- TazeTSchnitzel 8y agoIt would not be that simple, but yes.