cosmic icon indicating copy to clipboard operation
cosmic copied to clipboard

Sync and Native async network IO

Open fubark opened this issue 3 years ago • 0 comments

Currently Cosmic is optimized for doing client side HTTP requests but there is no facility to do raw TCP/UDP network connections. Something I like in deno is how http servers are simply secure tcp servers that know how to accept http requests. This could for example let you just host a secure server for messaging in your custom protocol. It's worth seeing how they designed their networking API. This will also rely on libuv for async events.

fubark avatar Apr 01 '22 04:04 fubark