Skip to content

docs: easy/medium/hard networking recipes - #4040

Merged
reynaldichernando merged 4 commits into
HeyPuter:mainfrom
r58Playz:net-examples
Oct 25, 2026
Merged

reynaldichernando merged 4 commits into
HeyPuter:mainfrom
r58Playz:net-examples

Conversation

@r58Playz

@r58Playz r58Playz commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

PUT-1963, PUT-1973, PUT-1983

Requires #3476 (epoxy pr)

Uses Epoxy affd9f5 (3.0.0-alpha.5) for both the JavaScript and WebAssembly runtime. The runtime includes the certificate validation updates for the eMudhra intermediate compromise: all eight affected intermediate keys are blocked, and the emSign ECC Root CA - G3 and AAA Certificate Services trust anchors are removed. Existing public API signatures and socket event aliases are preserved.

Includes:

  • HTTP request examples
    • Fetch a JSON API
    • Send JSON
    • Read a Response in Chunks
    • Handle a Failed Request
  • Socket examples
    • Send a HTTP Request
    • Use TLS for HTTP Request
    • Send Bytes in socket
    • Handle Errors and Close
  • RSS Reader
  • Uptime checker

Validation for the runtime update: SDK and worker builds; SDK types; 86 networking unit tests; 29 networking API checks across Node, Chromium, and workerd; Chromium smoke test using the real affd9f5 CDN runtime and a local Wisp relay covering HTTP/HTTPS, POST bodies and custom headers, TCP, TLS, and rejection of expired, self-signed, and untrusted certificates; CDN WASM inspection confirming all eight distrusted intermediate keys are present and both removed trust anchors are absent.

@reynaldichernando reynaldichernando left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @r58Playz thank you for making the recipes!
it is already good as it is, i only changed minor stuff

also since this PR inclues some puterjs changes, i won't merge it yet

i'll let @Salazareo or @ProgrammerIn-wonderland to review the puterjs changes

@r58Playz

Copy link
Copy Markdown
Member Author

oh that's because i based it off the epoxy pr which is merged now. rebasing should remove them

@reynaldichernando
reynaldichernando merged commit ec3ad1c into HeyPuter:main Oct 25, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants