This is pretty neat, and I hope it will get networking support soon. I've also been keeping track of the NodeJS "equivalents", and am looking forward to being able to use ClojureScript at the CLI...
back
1 comments
You can already do basic networking by utilizing the planck.sh namespace, which allows you to run shell commands and get the results back. Thus you can use it to call curl. Not perfect, but with a thin wrapper you can easily GET or POST to services.
I was thinking more along the lines of creating a listening socket. There's already some form of URI access in the source.
Yep, the ability to directly create network connections will ultimately land in Planck.
Ah. Yeah, should have figured that out through the NodeJS keyword.