moscajs / aedes-server-factory

Aedes server factory. Supports tcp, tls, http, https, http2, ws, wss and proxy decoders
MIT License
10 stars 6 forks source link

What are the best use case(s) of this package?[question] #18

Open Uttam-EWW opened 3 years ago

Uttam-EWW commented 3 years ago
  1. So, I've some doubts and confusion about using this package. I'm not sure what it is used for. My Questions

  2. Why should I use it?

  3. What are the benefits of using it?

  4. can I use it with TLS(MQTTS).? As you can see that TLS & HTTPS is still in progress.

robertsLando commented 3 years ago

@getlarge Correct me if I'm wrong, but the Readme may be outdated as the TLS and HTTPs are already supported.

@Uttam-EWW The main benefits using this package is that it automatically setup your servers by simply providing a configuration instead of writing all the code to setup them

Uttam-EWW commented 3 years ago

Correct me if I'm wrong, but the Readme may be outdated as the TLS and HTTPs are already supported.

Yes, i tried using it and it worked with TLS too.

Uttam-EWW commented 3 years ago

The main benefits using this package is that it automatically setup your servers by simply providing a configuration instead of writing all the code to setup them

Yes, it make server configuration fast but I was getting one weird error: Invalid header flag bits, must be 0x0 for puback packets.

Uttam-EWW commented 3 years ago

The main benefits using this package is that it automatically setup your servers by simply providing a configuration instead of writing all the code to setup them

apart from making fast configuration what else it should be used for?