| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
These simples demonstrate usage of https://github.com/stomp-js/stompjs family of libraries.
To run these samples you would need a STOMP broker running locally.
These samples should work out of the box with a fresh RabbitMQ installation with plugin rabbitmq_web_stomp enabled.
These are implemented using rx-stomp and can be used with ng2-stompjs.
This demonstrates RxStompRPC#rpc.
See the client at:
You will need to run at least one of the following servers:
Considering what it delivers, the code as a whole is quite simple. There are more things to observe:
If you are planning to use this in production you might consider using rpc/ruby-server/server-thread-pool.rb as your base.
This demonstrates RxStompRPC#stream.
It extends the previous example, however allows multiple responses to be sent from the server to the client. This examples uses this capability to communicate progress status.
See the client at:
See the server at:
| Back | FazBrowse Home | New Git URL |