Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
EGreg
· 3y ago · 0 comments
The question is — how does your WebAssembly in the browser run a server that can listen for incoming requests and serve the page? I don’t get that part at all.
Comments
[–]
sylvinus
3y ago
I think this is the part done with the Service Worker, which intercepts network requests:
https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...
[–]
EGreg
OP
3y ago
But how can anyone other than the user actually access this server? Like if I serve wordpress off a phone?