[nanomsg] Re: websocket transport

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Thu, 08 Aug 2013 13:24:34 +0200

Hi William,

I am interested in implementing a nanomsg transport, that leverages
libwebsockets to support wss://.

I then want to implement the sp's in javascript (starting with req/rep)
wrapping the javascript websocket api. So that they can be used form
browsers.

This way device(wss_rep_socket, tcp_req_socket) could route between
browsers and nanomsg topologies.

Anyway does this sound like a reasonable idea?

Definitely an reasonable idea. I would do it myself if I had enogh free time. If there's anything I can help you with feel free to ask.

As a starting point for writing a new transport check the src/transport.h header file.

Martin


Other related posts: