4

I'm looking at the documentation https://github.com/rsocket/rsocket-js/blob/master/docs/01-client-configuration.md

However I find something is missing, where do you actually get the rsocket-core and rsocket-websocket-client without firing up node js? I mean using rsocket-websocket-client in pure browser?

Fireburn
  • 981
  • 6
  • 20
  • What do you mean, where to actually get it? If it's about installing it, then check the README: https://github.com/rsocket/rsocket-js. There are npm pacakges listed for installing. Otherwise the documentation link you linked in your question starts with a section how to use it in the browser... – Andrei Boyanov Apr 29 '20 at 05:19
  • @AndreiBoyanov I think what this means is not using Node.js, e.g npm, the project must have no `package.json` and is a pure browser based setup – quarks Apr 29 '20 at 07:54
  • 1
    You could just download the npm package and then use browserify. – 123 May 02 '20 at 16:11
  • 1
    if you mean to avoid installing npm to get the packages, I think this thread is useful https://stackoverflow.com/questions/15035786/download-source-from-npm-without-installing-it – Matthew Aug 31 '20 at 03:49
  • i have the same question as yours. how to use rsocket-js in html and javascript only? for example: use httpd to serve html, js and connect to another java spring rsocket websocket server. – yaocl Oct 29 '21 at 06:00

0 Answers0