D
Deno
S
Deno
β’
2y ago
β’
3 replies
sachaw
Way too iterate over Deno.serve connections?
Hi
, as a lot of the old http api
's are now deprecated
, I would like to know if there is a nice way to achieve the following
:
Create a
Deno.serve
Deno.serve
instance
, iterate over each request
, my goal is to put this in an async generator that yields upgraded websockets
.
This is doable with the
Deno.listen
Deno.listen
api
, but now that the
Deno.serveHttp
Deno.serveHttp
is deprecated
, I
'm not sure how to proceed
.
Thanks
.
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Reuse Deno.serve for other TCP connections
E
Esente / help
3y ago
deno serve logs?
J
Jack M / help
2y ago
deno serve subcommand cleanup
O
Overlord Supreme / help
17mo ago
Deno.serve() + sharp + streams
F
functiondj / help
2y ago