Skip to main content
Skip to right sidebar
SpeakBits
The letter S in a light blue, stylized speech bubble followed by SpeakBits
Trending
Top
New
Controversial
Log in
Sign up
HTTP Fundamentals: Routing fetch() to an in-memory server instance
platformatic.dev
submitted
7 mos ago
by
justadev
to
programming
Summary
In this blog post, we explain how to use Undici and Fastify to route requests in memory. Undici is a modern HTTP/1.1 client library for Node.js. Fastify is a Node.JS library for injecting requests into a Node server.
12
Reply
Link
Save
Report
Crosspost
3 Comments
Show all comments
2
iareunique
7 mos ago
Hide
Reply
Link
Save
The injection mechanism looks really cool! Might have to test this out!
1
joseph
7 mos ago
Reply
Link
Save
Seems like it could end up being a foot-gun, where you end up running things constantly. Something to watch out for!
Search
Groups
Quick Settings
Enjoying SpeakBits?
Support the development of it by donating to
Patreon
or
Ko-Fi
.
Have feedback? We'd love to hear it!