Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for files/unix sockets #1048

Closed
wants to merge 2 commits into from

Conversation

ralight
Copy link
Contributor

@ralight ralight commented Feb 12, 2020

Closes #1040.

Copy link
Contributor

@YoDaMa YoDaMa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before anything please add tests for this functionality extending the existing abstract client tests

@ralight
Copy link
Contributor Author

ralight commented Feb 12, 2020

Sure thing, could you give me a hint on where to start?

@YoDaMa
Copy link
Contributor

YoDaMa commented Feb 13, 2020

https://github.com/mqttjs/MQTT.js/blob/master/test/client.js is the tests for the regular MQTT.js client, and you'll note this test extends the abstact_client.js tests. Following this model but for the specific connection type should be the best option. Instead of a regular HTTPServer though you'll need something specific for the Unix Domain Socket.

@robertsLando
Copy link
Member

@ralight Could you add the required tests please?

@robertsLando robertsLando changed the title Add support for connecting to files/unix sockets. feat: add support for files/unix sockets Jun 27, 2023
@robertsLando
Copy link
Member

robertsLando commented Jun 29, 2023

If you wish to continue with this PR please remember to change destination branch from master to main 🙏🏼

@robertsLando
Copy link
Member

This is already possible with standard mqtt protocol by using path in client options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connect to unix socket
3 participants