[nanomsg] nng has public API for HTTP server and client now

  • From: "Garrett D'Amore" <garrett@xxxxxxxxxx>
  • To: "nanomsg@xxxxxxxxxxxxx" <nanomsg@xxxxxxxxxxxxx>
  • Date: Fri, 02 Feb 2018 04:12:31 +0000

I’ve added support for HTTP (and if you have TLS enabled, HTTPS as well!)
server and client applications.  In theory you could use nng to build REST
API servers and clients, and not even use the SP protocols, but what I hope
people will do with this is to build gateway applications to help bridge
the divide between REST and the richer protocols we have available in
nanomsg.

Nothing is documented yet (sorry), but you can look at the nng.h header to
review the public API.  I have put lots of comments in there which should
help you.  Also, the httpserver.c and httpclient.c test programs should
give you some ideas.

I’ll be working on demo apps and documentation for the rest of the week.  I
hope to cut a release soon.

I’d appreciate it if interested folks could have a look and provide
feedback.  Thanks!

 - Garrett

Other related posts:

  • » [nanomsg] nng has public API for HTTP server and client now - Garrett D'Amore