-
Notifications
You must be signed in to change notification settings - Fork 3
System bridge: Fetch API → native HTTP client #15
Copy link
Copy link
Closed
Labels
ai-readyWell-defined, AI can pick up immediatelyWell-defined, AI can pick up immediatelydifficulty:mediumMedium complexityMedium complexityenhancementNew feature or requestNew feature or requestmodule:cliw3cos-cli cratew3cos-cli cratemodule:compilerw3cos-compiler cratew3cos-compiler cratemodule:domw3cos-dom cratew3cos-dom cratemodule:runtimew3cos-runtime cratew3cos-runtime crate
Metadata
Metadata
Assignees
Labels
ai-readyWell-defined, AI can pick up immediatelyWell-defined, AI can pick up immediatelydifficulty:mediumMedium complexityMedium complexityenhancementNew feature or requestNew feature or requestmodule:cliw3cos-cli cratew3cos-cli cratemodule:compilerw3cos-compiler cratew3cos-compiler cratemodule:domw3cos-dom cratew3cos-dom cratemodule:runtimew3cos-runtime cratew3cos-runtime crate
Module
w3cos-runtime(new module:bridge/fetch.rs)Description
Implement the W3C Fetch API as a system bridge, mapping to a native HTTP client (e.g.
reqwestorureq). This enables W3C OS apps to make network requests.Acceptance Criteria
fetch(url)compiles to a native HTTP GET requestfetch()calls in TSXDifficulty
Medium — HTTP client is straightforward, async integration with the event loop is the challenge.