3 ms·
Or 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
by MuffinFlavored 8y ago
Or 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.