moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 508 forks source link

[Question] Documentation for options out of date? #697

Closed hardeep closed 6 years ago

hardeep commented 6 years ago

Hi I was just going through the documentation for constructing the server. Looks like options are passed through a modernize() method.

The documentation on the README.md, generated documentation, and wiki still refer to the legacy options structure.

As I'm writing a TypeScript declaration file, I'd like to follow recommended way instantiate a new server options object.

mcollina commented 6 years ago

I would highly recommend doing this for https://github.com/mcollina/aedes instead.

hardeep commented 6 years ago

@mcollina, thanks! I will definitely start there. I honestly had no idea Aedes existed. Much appreciated.