ZeroMQ in javascript client

后端 未结 3 2073
轻奢々
轻奢々 2021-01-31 22:09

Have anyone used ZmqSocket.js successfully? I\'d like to know how can it be used to establish a safe channel between the browser and a zeromq server app. Is there other/better o

3条回答
  •  囚心锁ツ
    2021-01-31 22:28

    I started looking into a solution to use a web browser for a UI.

    I have a Java application that collects information from several sources, analyses it a stores the results in a database, allowing other systems to the information.

    The Java app provides information (logs, events, and so on) on a PUSH ZMQ socket and provides a REP socket to control it (changing parameters, diagnosis requests, etc).

    I currently have a Python app with a UI using Tk and I plan to replace it with a web interface.

    The problem I have with the ZMQ JavaScript biding is that it uses a flash component, which is not supported by iOS.

    Doing a bit of Googoling I found a post titled "Interacting With ZeroMQ From the Browser" that uses NullMQ

    I hope this helps.

提交回复
热议问题