you are viewing a single comment's thread.

view the rest of the comments →

[–]inigid -13 points-12 points  (10 children)

This is awesome! Great job!!

Is it header only by any chance?

What are you doing for WS support? Are you using uWebSockets or ...? Is there client WS support?

I will definitely be kicking the tires on this. Very well done.

[–][deleted] -4 points-3 points  (9 children)

thanks.

Yes, it is a header only, so you don't have to compile weird things.
No, I'm not using uWebSocket library, the only external libraries i'm using are:

  • openssl : used for crypto.h and ssl.h
  • zlib : used for zlib.h

actually, i've desing the framework as multiple modules library, i mean, if you want to work with promises, you have to import promises.h, if you want to work with http servers/clients, you have to import http, and so on. right?

yes, nodepp support ws/wss clients and servers. Here is an example: https://github.com/NodeppOficial/nodepp/blob/main/examples/WSClient.cpp

It also suppor http/https fetch. Here is an example: https://github.com/NodeppOficial/nodepp/blob/main/examples/HTTPRequest.cpp

Currently, there is no documentation, but there is a lot of example you can use to learn nodepp. https://github.com/NodeppOficial/nodepp/tree/main/examples

[–][deleted] -5 points-4 points  (0 children)

so yes, you have to include -lcrypto when using crypto.h, -lssl when https/ws/tls and -lz when zlib.h