cosmic
cosmic copied to clipboard
Sync and Native async network IO
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.