Documentation ¶
Rendered for js/wasm
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
ListenAndServe accepts a standard http.Handler and will set up the JS environment in a Cloudflare Worker. Once set up, the function also facilitates the translation of JS to Go HTTP object translation and then back the other way in order to respond correctly.
BUG(nkcmr): When JS Header objects are passed into the WASM VM, there is some off-by-one error where one header will always be missing.
Types ¶
This section is empty.
Notes ¶
Bugs ¶
When JS Header objects are passed into the WASM VM, there is some off-by-one error where one header will always be missing.
Click to show internal directories.
Click to hide internal directories.